Use HTML to show image and link to other page
goldi8472
Registered Users Posts: 6 Beginner grinner
I have been trying to use the HTML content block to display an image and have that image link to another photo. I am thinking I may do something like that instead of some of the content blocks but I can't seem to get it to work. I don't know if the problem is with the code I am using or if it's with the pages that I am giving it. I have tried it two different ways and neither of them work.
1. <img src="http://www.sitename.com/Coast-lines/Washington-Coast/i-fVDmtCD/A" style="float:left;border:0;margin:3px" alt="image" /><br />
<a href="http://www.artistryofcreation.com/Wildlife">category</a>
2. <a href="www.artistryofcreation.com/Coast-lines/Washington-Coast"><img src="www.artistryofcreation.com/Coast-lines/Washington-Coast/i-fVDmtCD/A" alt="image" />
No matter what I try all I end up with is a white bordered rectangle that has, in its center, a blue square with a white border and a white question mark in the square. My only guess as to why it's not working is the URLs that I am using but I am getting them straight from the website. Do I need to have URLs that are done differently or is something else wrong?
Please help,
jen
1. <img src="http://www.sitename.com/Coast-lines/Washington-Coast/i-fVDmtCD/A" style="float:left;border:0;margin:3px" alt="image" /><br />
<a href="http://www.artistryofcreation.com/Wildlife">category</a>
2. <a href="www.artistryofcreation.com/Coast-lines/Washington-Coast"><img src="www.artistryofcreation.com/Coast-lines/Washington-Coast/i-fVDmtCD/A" alt="image" />
No matter what I try all I end up with is a white bordered rectangle that has, in its center, a blue square with a white border and a white question mark in the square. My only guess as to why it's not working is the URLs that I am using but I am getting them straight from the website. Do I need to have URLs that are done differently or is something else wrong?
Please help,
jen
0
Comments
<a href="www.artistryofcreation.com/Coast-lines/Washington-Coast"><img src="www.artistryofcreation.com/Coast-lines/Washington-Coast/i-fVDmtCD/A" alt="image" /></a>
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Use share "get a link" to get the actual photo links.
It will end with .jpg
No.2 is missing the </a>
My Website index | My Blog