Author Topic: img alt tag  (Read 4283 times)

0 Members and 1 Guest are viewing this topic.

Offline AKIN

  • Full Member
  • ***
  • Posts: 121
    • View Profile
    • Resim
img alt tag
« on: October 05, 2009, 01:16:37 PM »
hi all.
my request

includes/functions.php
find
$postcard_button = "<img src=\"".get_gallery_image("postcard_off.gif")."\" border=\"0\" alt=\"\" />";
$download_button =
$lightbox_button =
bla bla bla

 alt=\"\" />";
how do display {image_name}  ?

Offline Sunny C.

  • Addicted member
  • ******
  • Posts: 1.806
  • I ♥ 4I
    • View Profile
Re: img alt tag
« Reply #1 on: October 05, 2009, 03:11:23 PM »
Hi

Replace:
$postcard_button "<img src=\"".get_gallery_image("postcard_off.gif")."\" border=\"0\" alt=\"\" />";
with
$postcard_button "<img src=\"".get_gallery_image("postcard_off.gif")."\" border=\"0\" alt=\"".format_text($image_name2)."\" />";