Active
Project:
Fast Gallery
Version:
6.x-5.1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
7 Jun 2010 at 15:12 UTC
Updated:
24 Dec 2011 at 16:47 UTC
If there is any folders in the gallery, the folder names are missing.
Comments
Comment #1
rapsli commented... cannot reproduce this bug. Have you checked the settings in admin/settings/fast_gallery/general ?? Need more info on this
Comment #2
zolikonta commentedOK, 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.
Comment #3
zolikonta commentedI 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)!
Comment #4
rapsli commentedComment #5
rapsli commentedComment #6
rapsli commentedComment #7
rapsli commentedother priorities
Comment #8
mattsteven commentedThanks 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.
Comment #9
avs4820 commentedWell... 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...