Hi,
Yes you need to either create a new Template, or update the existing ‘iframe image’ template to have the content:
<iframe src="http://rcm-%REGION%.amazon-adsystem.com/e/cm?lt1=_blank&bc1=000000&IS2=1&bg1=FFFFFF&fc1=000000&lc1=0000FF&t=%TAG%&o=%MPLACE_ID%&p=8&l=as4&m=amazon&f=ifr&ref=ss_til&asins=%ASIN%&MsrketPlace=%MPLACE%" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>
Unfortunately our firewall blocks this iframe so I have been unable to double check it works.
Cheers,
Paul
I just checked: paste the new template, press “update”, but the iframe looks exactly the same than before. Can you check it? I can wait that you are back home to check without firewall 😉
Hi Sorry about that!
I’ll try and check later, but the other one I have installed is this one (its the only one left so it had better be right!):
<iframe style="width:120px;height:240px;" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" src="http://ws-%REGION%.amazon-adsystem.com/widgets/q?region=%MPLACE%&ServiceVersion=20070822&OneJS=1&Operation=GetAdHtml&MarketPlace=%MPLACE%&source=ss&ref=ss_til&ad_type=product_link&tracking_id=%TAG%&marketplace=amazon&placement=%ASIN%&asins=%ASIN%&linkId=DGJQFSEETVP4VISP&show_border=true&link_opens_in_new_window=true">
</iframe>
For info I don’t think any of the templates works in the Indian locale, they have a different format!
Paul
it works! thanks!
May I try another question? I would like the amazon iframe to be centered in the wordpress post. Is there something I can do in your plugin? or in the theme css?
thanks
Hi,
You can do it using css directly in the template or add a new class to the themes stylesheet.
Typically you could change the ‘style’ attribute of the iframe in the template to be this:
style="display:block;margin-left:auto;margin-right:auto;width:120px;height:240px;"
This only works as the iframe is fixed width.
Paul
Sorry to jump in on this thread, but I have just updated my iframes template with your change and don’t seem to be getting anywhere:
<iframe style="width:120px;height:240px;" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" src="http://ws-%REGION%.amazon-adsystem.com/widgets/q?region=%MPLACE%&ServiceVersion=20070822&OneJS=1&Operation=GetAdHtml&MarketPlace=%MPLACE%&source=ss&ref=ss_til&ad_type=product_link&tracking_id=%TAG%&marketplace=amazon&placement=%ASIN%&asins=%ASIN%&linkId=DGJQFSEETVP4VISP&show_border=true&link_opens_in_new_window=true">
</iframe>
Here is the shortcode the Amazon Link plugin generated:
[amazon asin=0071668993&template=iframe image]
Unfortunately I don’t see anything. Is there something else I have overlooked? I only have one affiliate ID, the ip2nation database is up to date, and my AWS keys were installed and validated.
http://vitalitybynature.com/wordpress/wellness-books-we-recommend/
thanks for any insight.
Cheers,
David
Hi,
I can see an iframe image on your page, using the new style image from Amazon.
You may find ad-blocker in your browser has blocked the iframe.
Paul
Thanks Paul ad-blocker is indeed the culprit.
– David