Closed (fixed)
Project:
Brilliant Gallery
Version:
5.x-2.6
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
26 Sep 2007 at 10:36 UTC
Updated:
12 Nov 2007 at 22:42 UTC
Jump to comment: Most recent file
Comments
Comment #1
vacilando commentedHi,
Captions functionality is under development - I'd say a few days from now it should be there. I'll update this thread then so you'll be notified :-)
Cheers,
Tomas / Vacilando
Comment #2
goldI have a client that required this so I've attached this diff hoping it'll do the job.
I'm using lightbox2 and haven't used the others. If the other overlays display things using the anchors title this should work fine for them too.
The changes in this diff;
1. Image names become the caption. The file extension is removed. Any dots in the file name become spaces and underscores are replaced by a br tag. This is then added as the
2. In order to debug the html a little easier I've added \n to the end of the tr and td tags.
Hope this helps.
Regards,
Gold
Comment #3
vacilando commentedGold, thanks for the nudge, and for the code idea. I have changed it just a little bit (no
in captions). The caption works not only in Lightbox, but also in Thickbox and Greybox. See version 2.11.
Comment #4
emdeex commentedI've applied the new 2.11 version. Works fine, with a couple of issues:
While the "." in a filename does give a space, the underscore character "_" doesn't give me a new line "
".
Under Admin by Modules, I'm seeing two "Configure Permissions" links... one to: admin/user/access#module-brilliant_gallery and another to: admin/settings/brilliant_gallery/brilliant_gallery_perms
Comment #5
goldRegarding the newlines. It appears they've been removed.
These weren't actually new lines. The underscore was being replaced by <br> tags. While this worked in the caption the image title that shows up in the mouseover tooltip thing showed the actual tag. Not the best...
Comment #6
emdeex commentedIs there any logical limit to filename sizes, ie. the length of the caption?
Comment #7
vacilando commentedWouldn't know.. depends on the operating system of your server, perhaps even on its version. The answer(s) will be somewhere on the web.
Comment #8
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.