If there is any folders in the gallery, the folder names are missing.

Comments

rapsli’s picture

Status: Active » Postponed (maintainer needs more info)

... cannot reproduce this bug. Have you checked the settings in admin/settings/fast_gallery/general ?? Need more info on this

zolikonta’s picture

OK, if I set thumbnail title to none, it makes the folders to some untitled identical pictures. So you don't know what's in it.

zolikonta’s picture

Status: Active » Postponed (maintainer needs more info)

I think the folder names should be always visible, without the reference of thumbnail title settings. Especially since the folder pictures are identical (not a thumbnail from that folder)!

rapsli’s picture

Version: 6.x-5.x-dev » 6.x-5.1
Status: Postponed (maintainer needs more info) » Active
rapsli’s picture

Category: bug » feature
Status: Postponed (maintainer needs more info) » Active
rapsli’s picture

Assigned: Unassigned » rapsli
Priority: Normal » Critical
rapsli’s picture

Assigned: rapsli » Unassigned
Priority: Critical » Normal

other priorities

mattsteven’s picture

Thanks for the practical and useful module.

Any hint as to where in the code this folder name could be set to always-on? Seems like it should be simple, but I browsed around in it some and the imagecache seems to complicate things quite a bit, as the only thing I could get to happen was an all/none situation, isDir() doesn't seem to always be set correctly.

As it is I can't use the folder outlay because the client doesn't want to see the image names (IMG1002 etc) but would like to use the folders too.

Cheers.

avs4820’s picture

Well... it's an old topic, but in case someone is still interested i found a solution (more of a hack) to display only the folder names, but not the picture names.
All the picture/folder names get assign a where # is a number of picture/folder on your page.

So here is what you will need to do:
First of all you will have to set "Thumbnail title" under /admin/settings/fast_gallery/general to something other than . Mine was "object_name".
Then find a file "default.presentation.inc" under /modules\fast_gallery\presentation, open it, and replace a part of line #35:

span id=\"fg_imagename-$n\"

with

span class=\"file_name fg_imagename-$n\"

So what you are basically doing is telling the code assign a span CLASS to the picture/folder name instead of an ID. As we know we can assign several classes to things, so assign it an additional class. Mine was "file_name" as can be seen in the 2nd line.

After that i used a module "CSS Injector" to assign a property to my "file_name" class to all pages under my gallery page:
.file_name {display:none;}. And that's it, just don't forget to specify in the CSS Injector to use this only under gallery/* pages or whatever name you used...