ALT Images

General ShopSite user discussion

ALT Images

Postby reighley » Tue Dec 05, 2006 5:59 pm

Is there a way to bulk updating of the alt tag for images within shopsite?

Trying to basically add the product name for all of our product to the alt tag of the product images.

Thanks

Chris Reighley
Melodia Fragrances
http://www.melodiafragrances.com
Chris Reighley
Melodia Fragrances
http://www.melodiafragrances.com
reighley
 
Posts: 6
Joined: Fri Oct 06, 2006 2:54 pm
Location: Wilmington, OH

Postby Jim » Tue Dec 05, 2006 8:18 pm

The only way to add/edit the alt text of the image file that ShopSite uses when displaying an image is to do it through the Edit Image Attributes option of Images.

You can however create the entire url for the images in your store pages in a custom template and doing that you could use one of the product fields to contain the Alt text you want to use.
So instead of using the tag
[-- product.graphic --]
you would use something like
<img src="[-- store.output_url --]/[-- image product.graphic --]" alt="[--product.name --]" width="315" height="31" vspace="0" hspace="0" border="0">

It would be up to you to specify the height and width of the image which ShopSite reads from the actual image when creating the file it uses for displaying the image.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah


Return to User Forum

Who is online

Users browsing this forum: No registered users and 77 guests

cron