Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Alternate text for intermediate image  (Read 2854 times)

0 Members and 1 Guest are viewing this topic.

flasyn

  • Contributor
  • Coppermine newbie
  • ***
  • Country: de
  • Offline Offline
  • Posts: 19
    • dokufoto.de
Alternate text for intermediate image
« 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
« Last Edit: September 25, 2005, 12:11:03 pm by GauGau »
Logged

quick5pnt0

  • Coppermine newbie
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 4
    • RCNewz.com
Re: Alternate text for intermediate image
« Reply #1 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
Code: [Select]
$pic_html .= "<img src=\"" . $picture_url . "\" class=\"image\" border=\"0\" alt=\"{$lang_display_image_php['view_fs']}\" /><br />";
To this
 
Code: [Select]
$pic_html .= "<img src=\"" . $picture_url . "\" class=\"image\" border=\"0\" alt=\"{$CURRENT_PIC_DATA['caption']}\" /><br />";
« Last Edit: September 25, 2005, 08:11:24 am by quick5pnt0 »
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 15 queries.