WordPress.org

Ready to get started?Download WordPress

Forums

Amazon Associates link: can't choose image only (6 posts)

  1. freewrite
    Member
    Posted 7 years ago #

    I'm trying to insert an image-only Amazon associates link. According to amazon's site, for this to work, you have to save the image to your server and then copy and paste the html code into the "lower left textbox of your Web site."

    So...I saved the image to my WP/content/uploads. Is that the right place?

    Then, I'm not sure about where to put the html code. I want the image to appear under the descriptive text, so it seems that that's where I should put it, but that doesn't work.

    Anyone use this feature?

    Link:

    http://idothings.info/
    Scroll down to "I also recommend actual printed-on-paper books:" The first (broken) image is the one I'm referring to. The 2d two are text and image links.

    Thanks for any help.
    (and I am working on validation!)

  2. Samuel Wood (Otto)
    Tech Ninja
    Posted 7 years ago #

    The HTML code you're using has this:
    <img border="0" src="21nDFlP9O2L._AA_SL160_.jpg" />

    Since you put the image in the uploads folder, change that to this:
    <img border="0" src="/wp-content/uploads/21nDFlP9O2L._AA_SL160_.jpg" />

  3. freewrite
    Member
    Posted 7 years ago #

    Thanks, Otto. I tried that, but I'm still getting a broken jpg. Maybe this just doesn't work in WP?

  4. Samuel Wood (Otto)
    Tech Ninja
    Posted 7 years ago #

    No, it works fine.. I do this sort of thing myself, all the time.

    I looked at your site again, but you've taken away the image link and replaced them with an iframe instead. Can't fix what ain't there. :)

  5. brockangelo
    Member
    Posted 6 years ago #

    Thanks for this fix - had me stumped too - but works great

  6. markgiles
    Member
    Posted 6 years ago #

    Do the iframes work? Whenever I put the iframe link in the middle of a post the rest of the post doesn't appear.

Topic Closed

This topic has been closed to new replies.

About this Topic