Posted by zolikonta on June 7, 2010 at 3:12pm
4 followers
Jump to:
| Project: | Fast Gallery |
| Version: | 6.x-5.1 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
If there is any folders in the gallery, the folder names are missing.
Comments
#1
... cannot reproduce this bug. Have you checked the settings in admin/settings/fast_gallery/general ?? Need more info on this
#2
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.
#3
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)!
#4
#5
#6
#7
other priorities
#8
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.
#9
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...