amazon plugin not displaying images for amazon.co.uk

Creating and modifying plugins.
Post Reply
sonichouse
Regular
Posts: 196
Joined: Sun May 11, 2008 2:53 am
Contact:

amazon plugin not displaying images for amazon.co.uk

Post by sonichouse »

When I add an ASIN I just see a picture with [?] inside.

If I delete the ASINs from the list, I see the text recommendation.

Images in my upload/amazon folder are 507 bytes long.

I am using

Code: Select all

<?php # $Id: serendipity_plugin_amazon.php,v 1.25 2007/10/09 08:30:59 garvinhicking Exp $
My blog is http://www.steveforster.co.uk
sonichouse
Regular
Posts: 196
Joined: Sun May 11, 2008 2:53 am
Contact:

Re: amazon plugin not displaying images for amazon.co.uk

Post by sonichouse »

I have found a partial workaround by deleting the images in my upload/amazon folder. I now get the text descriptions of the items to show.

I think this is due to Amazon redesigning the site layout.

I printed out the URL it was trying to retrieve, and this looks like the rating image of the item.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: amazon plugin not displaying images for amazon.co.uk

Post by garvinhicking »

Hi!

Sadly I believe that is true. Most of the amazon shops have changed image/API paths, and the current maintainer of the plugin has not yet updated it. Maybe if someone wants/can have a look at it, feel free to. :)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
sonichouse
Regular
Posts: 196
Joined: Sun May 11, 2008 2:53 am
Contact:

Re: amazon plugin not displaying images for amazon.co.uk

Post by sonichouse »

garvinhicking wrote:Hi!

Sadly I believe that is true. Most of the amazon shops have changed image/API paths, and the current maintainer of the plugin has not yet updated it. Maybe if someone wants/can have a look at it, feel free to. :)

Regards,
Garvin
Unfortunately my regexp isn't up to it.
But the image required has

Code: Select all

id="prodImage" 
in the img src.
sonichouse
Regular
Posts: 196
Joined: Sun May 11, 2008 2:53 am
Contact:

Re: amazon plugin not displaying images for amazon.co.uk

Post by sonichouse »

sonichouse wrote:
garvinhicking wrote:Hi!

Sadly I believe that is true. Most of the amazon shops have changed image/API paths, and the current maintainer of the plugin has not yet updated it. Maybe if someone wants/can have a look at it, feel free to. :)

Regards,
Garvin
Unfortunately my regexp isn't up to it.
But the image required has

Code: Select all

id="prodImage" 
in the img src.
I have hacked in a temporary workaround that works for me.
The details are in another thread in the general discussions area.

Thanks again to the members on the forum for their support in my first faltering steps with s9y.
sonichouse
Regular
Posts: 196
Joined: Sun May 11, 2008 2:53 am
Contact:

Post by sonichouse »

I have fixed a few typos in the EN file

Code: Select all

@define('PLUGIN_AMAZON_DESC',               "Recommend Products at Amazon within the Amazon-Partner Program");
@define('PLUGIN_AMAZON_PROP_TITLE_DESC',    "Title of this Recommendations block");
@define('PLUGIN_AMAZON_ASIN_DESC',          "Comma separated List of ASIN you'd like to recommend");
/Steve
Steve is occasionally blogging here
Post Reply