Author Topic: ALT attribute for images.... please help  (Read 7223 times)

0 Members and 1 Guest are viewing this topic.

Offline ripejuice

  • Newbie
  • *
  • Posts: 11
    • View Profile
    • Sexy Wallpapers
ALT attribute for images.... please help
« on: July 05, 2008, 09:27:37 AM »
Please anybody can help me to put a alt attibute for for every images by making the 'alt text' same as the image name.
Alternative text is used by Google's image search  to help return appropriate images.Its very very important for getting good ranking in google.


According to Google
Quote
" The "title" attribute is a bit different: it "offers advisory information about the element for which it is set." As the Googlebot does not see the images directly, we generally concentrate on the information provided in the "alt" attribute. Feel free to supplement the "alt" attribute with "title" and other attributes if they provide value to your users! "

Offline ripejuice

  • Newbie
  • *
  • Posts: 11
    • View Profile
    • Sexy Wallpapers
Re: ALT attribute for images.... please help
« Reply #1 on: July 05, 2008, 11:37:57 AM »
I'm a big noob in coding....please help me
where do i need to edit for putting the alt text attribute for images

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: ALT attribute for images.... please help
« Reply #2 on: July 05, 2008, 10:02:59 PM »
But 4images already add title of the image into alt attribute.
you can see it in templates/<your template>/media/jpg.html
Code: [Select]
<img src="{media_src}" border="1" alt="{image_name}"{width_height} /><br />
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline om6acw

  • Full Member
  • ***
  • Posts: 187
    • View Profile
    • My Animal's World
Re: ALT attribute for images.... please help
« Reply #3 on: July 06, 2008, 05:36:01 AM »
But 4images already add title of the image into alt attribute.
you can see it in templates/<your template>/media/jpg.html
Code: [Select]
<img src="{media_src}" border="1" alt="{image_name}"{width_height} /><br />

but this is not working under firefox, you have to used like this

Code: [Select]
<img src="{media_src}" border="1" title="{image_name}" alt="{image_name}"{width_height} /><br />

Offline ripejuice

  • Newbie
  • *
  • Posts: 11
    • View Profile
    • Sexy Wallpapers
Re: ALT attribute for images.... please help
« Reply #4 on: July 06, 2008, 11:41:45 AM »
thank you very very much..it worked :)