Link Images with no text

General ShopSite user discussion
Post Reply
ajhauser
Posts: 84
Joined: Tue Dec 06, 2011 4:18 pm
Location: Earlville - the land of Earls
Contact:

Link Images with no text

Post by ajhauser »

I might be overlooking something: where would I make changes to set my link images up to display with NO text? It seems like they are pulling the page name since I do not have the link text field defined...

http://brotherscountrysupply.com/store/treats-main.html

The images will explain what they do. If I could add an alt field for screen readers for each link (or each image) it would also be very useful.

Any ideas?
Thanks!!
Website Design, Website Development, eCommerce and Hosting
Jim
Site Admin
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Re: Link Images with no text

Post by Jim »

The page link template determines what displays for links. You would need to edit the page template and in the [--DEFINE LINK_TO_PAGE--] section change the code so it just displays the image.

You can add alt text to the images by going to Images, select the image, Edit Images and in the Alternate text: field enter the text you want the screen reader to say.
ajhauser
Posts: 84
Joined: Tue Dec 06, 2011 4:18 pm
Location: Earlville - the land of Earls
Contact:

Re: Link Images with no text

Post by ajhauser »

Thanks Jim - very helpful. I'm not seeing [--DEFINE LINK_TO_PAGE--] in my template though, all I see is

[-- LOOP LINKS --]
[-- LINK --]</a> |
[-- END_LOOP LINKS --]

Where would I find [--DEFINE LINK_TO_PAGE--] ?
Thanks so much.
Website Design, Website Development, eCommerce and Hosting
Jim
Site Admin
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Re: Link Images with no text

Post by Jim »

The [--DEFINE LINK_TO_PAGE--] section is typically the very first section in the PAGE template. Just load the template in the editor and then do a search (Ctrl F) and search for "DEFINE LINK" and you should find it.
If there isn't one in the template then you shouldn't be seeing any link text or images so it has to be there somewhere.
ajhauser
Posts: 84
Joined: Tue Dec 06, 2011 4:18 pm
Location: Earlville - the land of Earls
Contact:

Re: Link Images with no text

Post by ajhauser »

Oh wow - for some reason I wasn't searching in the edit box before and CTRL-F was not showing me anything. Sorry, I can't believe I missed that... thanks though.
Website Design, Website Development, eCommerce and Hosting
Post Reply