Junior Member
Junior Member
phire   14-04-2009, 03:50
#1

Hi

I'm new here.
Zenphoto looks to what I'm looking for to manage my pix at on my home network, replacing iPhoto on a single Mac. So I decided to install it on my nas (a synology).

No problem for installation, except I had to put RewriteEngine Off in the .htacess file (if i didn'nt, i had a can't find page error).

My problem now, is that, in every album and in the gallery, I have a @eadDir album (or subalbum).It 's look like a trash folder (for example i noticed that it contains files with the old name for album/files that I rename in ZenPhoto admin). The main troubleshouting is that i see these @eaDir in the Gallery view of ZenPhoto and their are found by search.

Thanks by advance for your answer.

Philippe.

PS : I apologize for my poor english, I'm a french guy

Administrator
Administrator
acrylian   14-04-2009, 09:26
#2

I have no idea what these @eadDir are. I am on Mac (10.4.11), too. Could these maybe be leftover from iPhoto (which I don't use)?

Junior Member
Junior Member
fuchur777   19-02-2010, 21:53
#3

the @eadir are created by the synology nas. I am also trying to exclude these dirs.

Is there an option in ZEN to exclude folders with a certain name? That would slove it easily.

Ta Frank

Member
Member
sbillard   19-02-2010, 22:27
#4

There is not, but you probably could make a variant of the filter-new_objects plugin which would automatically mark albums as not published. It might also be possible to have the filter delete them, but you would have to experiment with that.

Member
Member
sbillard   19-02-2010, 22:35
#5

Also see if the filter-file_searches plugin can help.

Junior Member
Junior Member
UlrichB   09-09-2011, 07:03
#6

This thread has been inactive for some time, but maybe someone can benefit from the following solution.

In class-album.php I've made a small change to the getSubAlbums function. It simply searches for "eadir" and ignores any @eaDir folders.

ORIGINAL
= = =
function getSubAlbums($page=0, $sorttype=null, $sortdirection=null) {
if (is_null($this->subalbums) || $sorttype.$sortdirection !== $this->lastsubalbumsort ) {
$dirs = $this->loadFileNames(true);
$subalbums = array();

foreach ($dirs as $dir) {
$dir = $this->name . '/' . $dir;
$subalbums[] = $dir;
}
= = =

CHANGED VERSION
= = =
function getSubAlbums($page=0, $sorttype=null, $sortdirection=null) {
if (is_null($this->subalbums) || $sorttype.$sortdirection !== $this->lastsubalbumsort ) {
$dirs = $this->loadFileNames(true);
$subalbums = array();

foreach ($dirs as $dir) {
$targetstring = "eadir";
if(stristr($dir, $targetstring) === FALSE)
{
$dir = $this->name . '/' . $dir;
$subalbums[] = $dir;
}
}
= = =

Administrator
Administrator
acrylian   09-09-2011, 07:43
#7

It should be noted that current Zenphoto releases actually do not have a getSubAlbums function/method anymore. It is just getAlbums() now.

Member
Member
sbillard   09-09-2011, 20:46
#8

Also, not really a good idea to modify the core as you will have to keep making that change (and noticing things like acrylian mentions).

Much better to use the plugin to filter out those folders you do not want searched.

Member
Member
moelli73   08-08-2012, 08:59
#9

Hi,

I don´t get the file filter plugin to work with the curent release. Is there another way to filter out the eadir Files and Folder?

Thnaks

Administrator
Administrator
acrylian   08-08-2012, 09:24
#10

Zenphoto should actually ignore all it does not recognize. However for deleting albums it might cause trouble.

I have no idea what "eaDir" files are but maybe tell your ftp client to not upload these at all?

Member
Member
moelli73   08-08-2012, 09:31
#11

Hi,

these files are generated by my Synology NAS, the @eadir files are normaly hidden cache files for the NAS operating system.

Member
Member
sbillard   08-08-2012, 23:20
#12

I have updated the filter correcting the error in the options handling. Download it again and see if it does what you want.

Junior Member
Junior Member
smunozza   09-09-2012, 21:27
#13

Hi,
I have the same problem with @eaDir in a Synology NAS. Are you suggesting the use of your extension "filter-file_searches"?
It only allows to select the Folders that are visible (or at level one). I cannot choose the @eaDir sub album

Am I doing something wrong?

Member
Member
sbillard   09-09-2012, 23:52
#14

I really do not see how a folder can be visible to one part of Zenphoto and not another. Zenphoto uses the same fucntions everywhere to read file directories.

Of course, the plugin is only an example. You can simply make a version that filters out the @eaDir folders directly.

Member
Member
david1pro   26-09-2022, 19:04
#15

I hate to resurrect an old thread, but this is still an issue. I can not see these files in Windows, even with view set to show hidden files. I can not view these files with Synology's file station. However, ZenPhoto sees these files, which it interprets as folders, EVERYWHERE. This causes non-real albums/galleries to populate my site. I tried the altering of the class-album.php as directed above, but they still show. I can not find a plug-in that involves filtering. Am I missing something?

Administrator
Administrator
acrylian   27-09-2022, 08:12
#16

Sorry, I still cannot help with this, I have neither knowledge nor access (or ever had) to a Synology file station. I have no idea what a eaDir folder is and how it looks like at all… If it is a folder, Zenphoto will recognized it as such being file system based for the gallery part.Zenphoto is aimed to run on fairly standard web servers.

The plugin mentioned above is available here:
https://www.zenphoto.org/news/filter-file_searches/

It's old and unsupported so might not work anymore.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.