PAGE.LinkGraphic Not Showing Correct Alt

General ShopSite user discussion

PAGE.LinkGraphic Not Showing Correct Alt

Postby dortchjm » Fri Apr 17, 2009 5:58 pm

How do I fix the [-- PAGE.LinkGraphic --] tag to show the correct alt text. It's currently showing the image name such as xyz.jpg instead of the alt text description in the image file. The [-- PRODUCT.Graphic --] tag shows the image and alt text correctly.

Janice
dortchjm
 
Posts: 119
Joined: Tue Jan 29, 2008 9:24 pm

Postby Jim » Fri Apr 17, 2009 8:20 pm

What template are you using? The alt text is correct on the Rounded one that I tried.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Postby dortchjm » Sat Apr 18, 2009 7:52 am

The problem is not the template, but the tag itself.

I'm using a modified Modern template. The code just had the tag

[-- PAGE.LinkGraphic --]

I checked out the Rounded Template and the it has the code

<img [-- PAGE.LinkGraphic REMOVE_HTML --] align="middle">

I replaced this code and got the same result. There is text in the alt field, but not what I want. In my image description I have descriptive text, which the [-- PRODUCT.Graphic --] tag shows correctly. The [-- PAGE.LinkGraphic --] tag incorrectly puts the image file name in the alt field instead. So instead of getting "Baseball Jackets", I get "123.jpg", not very descriptive.

I have found a work around by copying my image information into one of the extra page fields, then using PAGE.Fieldx inplace of the PAGE.LinkGraphic, but that is a lot of extra work that would not be necessary if the tag was coded correctly. Another alternative is to change all my image file names to long descriptive text with hyphens, which is not only hard to read, but ridiculous.

This information is necessary to work with SEO and should be there to aid those who either have their images turned off or are visably impaired.

Janice
dortchjm
 
Posts: 119
Joined: Tue Jan 29, 2008 9:24 pm


Return to User Forum

Who is online

Users browsing this forum: Bing [Bot] and 149 guests