Alternate text for intermediate image Alternate text for intermediate image
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Alternate text for intermediate image

Started by flasyn, May 29, 2005, 10:39:49 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

flasyn

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

quick5pnt0

#1
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 />";