inserting amazon html to make a picture and link

  • Author
  • #699247

    Hello! I’ve just got an html code from amazon which is intended to put onto my blog a picture of my book with a clickable link to direct users to the amazon site (to buy my book). I’ve pasted the html code into the side bar using the TEXT widget. Now my blog displays the code, and if you click on it, opens a new window with… you guessed it, the nifty picture and link. But I’d LIKE it straight on my blog, not in a new window! I’m a complete newbie and going round in circles. I’m probably doing this all wrong. So my question is: how do I use the html code I’ve been given to put the picture/link straight on the top right hand corner of my side bar? Where do I place the code? Please be patient with your instructions–I’m wordpress for dummies-level!
    Thanks so much

    The blog I need help with is


    Can you please paste the code you were given here in the forum between code tags like below so that we can take a look at it?

    <code>all the code here</code>


    Thanks, I’ll have a go… here goes:
    <iframe src="" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>


    Ahhh, that is the problem, it is an iframe. iframes are not allowed here for security reasons, that is why things are getting stripped out.

    Let me work on this for you and see if I can rewrite things and get it to work for you.


    This isn’t exactly like the Amazon stuff, but give this a try and see if it works for you. Paste it into a text widget.

    <div style="text-align: center;">
    <a href="" target="_top"><img src="" alt="" /></a>
    <p id="title"><a href="" target="_top">Sophie's Turn
    Buy New from</a></p>

    Wow! That’s amazing, thank you SO much! It’s worked, and it’s lovely. I couldn’t even pretend to understand what you’ve done… or what an iframe is, or why it poses security problems…but at least now I have a pic of my book with a clickable link right on my blog where it belongs. THANK YOU!! I was going round and round in circles. You know what they say: a little knowledge is a dangerous thing… especially when it comes to messing round with blogs and codes, when i haven’t go a clue! :-)


    PS: I won’t get into trouble with amazon for altering the code, will I? This is part of their ‘associate program’ and I think they track where and how purchasers use this link and all that… I assume that’s still all in there, is it? I found my unique ‘identifier’ anyway… so that’s alright, isn’t it?


    You are welcome and no problems with Amazon. All they care about is the link to their site and the book.

The topic ‘inserting amazon html to make a picture and link’ is closed to new replies.