Hello. I do own a gallery @ http://www.dlh.ro/vedete . My question is related to the fact that I want to replace the text "Click to view full size image" with the image title.
I do have now in theme.php :
$pic_html .= "<img src=\"" . $picture_url . "\" class=\"image\" border=\"0\" alt=\"{$lang_display_image_php['view_fs']}\" /><br />";
What i have to put instead to work ? I tried with $pic_title
instead of {$lang_display_image_php['view_fs']}
but that just doesen't work. I need to have that alt text changed to the image title or at least of album title. Can be done ? Thanks
$pic_html .= "<img src=\"" . $picture_url . "\" class=\"image\" border=\"0\" alt=\"{$CURRENT_PIC_DATA['title']}\" /><br />";
Use the CURRENT_PIC_DATA array, i changed your code to do this; see above.
Great. It works. Thanks a lot
the above code is not in my theme.php
can u pleas tell me wich portion from /sample/theme.php past to my actual theme.php ?
I copied function theme_html_picture()
from sample theme.php . You should find that portion inside it.