Can You Replace a single image on a page you are iframing?

5 replies
OK let me clarify what I am talking about.

I have a short form lead I am promoting but I want to change one picture on the offer page. I am hosting on my own domain.

I have used iframes before and I thought this may work. I am not a programmer but I know just enough to get what I need done very ****tily.

Can I frame the offer page, but replace one image on it by somehow having my own image display right on top of the offending image?

I have googled the hell out of this and found no good answer.

Again I just want to cover one image (maybe more if it is possible).

Any help is much appreciated. I just want to get a higher CR, and get back to marketing, lol....

Thanks in advance
#iframing #image #page #replace #single
  • Profile picture of the author Eddieheli
    Its difficult with an iframe as if someone changes the browser window size the iframe content generally moves with it.
    I had this trouble with an amazon shop layout in an iFrame.
    You may get a way with putting something over the top with a fixed page size, but it will screw up if the iframe content changes.
    you may be better just taking the content and putting it on your own page, unless you've got access to the source of the content you are putting in the frame then of course you can change the image link url.
    Signature

    Eddieheli -
    "Forget about all the reasons why something may not work. You only need to find one good reason why it will." ~ Dr. Robert Anthony

    {{ DiscussionBoard.errors[2746638].message }}
  • Profile picture of the author chapdaddy
    I'm betting you could use css or javascript to do an image swap
    {{ DiscussionBoard.errors[2747443].message }}
  • Profile picture of the author aesoft
    Originally Posted by Not_In_My_Airforce View Post

    OK let me clarify what I am talking about.

    I have a short form lead I am promoting but I want to change one picture on the offer page. I am hosting on my own domain.
    You should be able to do this with jQuery. Would have to look at the HTML for a better idea. I wouldn't mind taking a look if you like, just PM it to me.

    I could possibly even do the code for you.
    {{ DiscussionBoard.errors[2747525].message }}
    • Profile picture of the author Daniel44
      I would use PHP with cURL and grab the page as it is, change it, then put it in the iframe
      {{ DiscussionBoard.errors[2747584].message }}
      • Thanks for all the replies. Unfortunately, It turns out that what I was doing is not allowed for the offer so it's a no go.

        Sometimes I think I should go into product creation.....sigh..

        so many roadblocks as an affiliate... but that is what makes us tough!



        Thanks again all!
        {{ DiscussionBoard.errors[2752008].message }}

Trending Topics