Hi Kris Vanderwater,
Can you add the caption in the lightbox2??
You just have to add in the "imagefield_gallery_lightbox2.module" file at the line 374:

$output .= 'nid .']" title="'.$images[$i]['title'].'">';

It will help us a lot.
Thanks...

Comments

kobee’s picture

Scuse me, I can't edit my post??
Ok, so the line of code is:
$output .= '<a href="'. $imagecache_path .'" rel="lightbox['. $node->nid .']" title="'.$images[$i]['title'].'">';

Thanks.

eclipsegc’s picture

Assigned: kobee » eclipsegc
Status: Active » Fixed

This is fixed in 5.x-1.2

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

kobee’s picture

Version: 5.x-1.1 » 5.x-1.3
Status: Closed (fixed) » Active

Thanks,
Now I have 2 questions:
1/ On the line"Click the images below for BIGGER versions:" , can you replace By :"Click the images below for larger versions:" ?? It's more "english" ...

2/ With the caption for Lightobox2, can you add a "checkplain" function or something like that, because, when you enter quotes tag ("") so it's not appear in the caption of the lightbox...

shepherdjack77’s picture

Hi

I have to admit I am pretty new to Drupal but was trying today to change the "Click the images below for BIGGER versions:" message and found if you look in the "imagefield_gallery_lightbox2.module" file on line 365 you will see the following code:

$output .= '<span class="gallery_text">'. t('Click the images below for bigger versions:') .'</span>';

If you change the text it will be displayed on your site instead of whats shown above.

If you want to remove it completly simple delete this line of code, or to be safe comment it out and save the file!

Hope that helps!

shepherdjack77’s picture

eclipsegc’s picture

Status: Active » Closed (fixed)

Completely the wrong way to do this, this is inside of a theme function and is meant to be overridden, NOT HACKED. Learn about theme functions.