coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: flasyn on May 29, 2005, 10:39:49 PM

Title: Alternate text for intermediate image
Post by: flasyn on May 29, 2005, 10:39:49 PM
hi!
is there a way to put alternat description into the picture (alt-tag) in the intermediate display of an image?

i got it to work in the thumbnail view modifying the functions.inc.php but can't work it for intermediate display.

thx in advance
Title: Re: Alternate text for intermediate image
Post by: quick5pnt0 on September 25, 2005, 08:04:52 AM
Anyone know the answer to this, i've been trying to get this to work also.
Thanks in advance

EDIT:
Nevermind i think i figured it out....
Changed this in displayimage.php
$pic_html .= "<img src=\"" . $picture_url . "\" class=\"image\" border=\"0\" alt=\"{$lang_display_image_php['view_fs']}\" /><br />";

To this
$pic_html .= "<img src=\"" . $picture_url . "\" class=\"image\" border=\"0\" alt=\"{$CURRENT_PIC_DATA['caption']}\" /><br />";