Hi,
Thanks for trying the plugin, the problem I think is the way you uploaded the image.
Currently the item in the media library has to be tagged with some metadata which contains the ASIN of the item, this is only done if the image is uploaded using the plugins own search function.
To do this:
- You need your own Amazon Advertising API AWS keys, put them in the plugin settings.
- Go to the Post/Page edit screen and scroll down to the ‘Insert Amazon Link’ box.
- Type in the items Title and/or Author select the appropriate product index then hit search
- A list of products should be displayed, each with buttons to:
- ‘+’ add the ASIN to the list of ASINs
- ‘Insert’ the product shortcode for the item in the post
- ‘Upload’ the image shown to the Media Library
- This last option (Upload) will insert the Amazon image into your media library with the special MetaData needed.
————–
I could add an option to the media library so that you can do this yourself if you want to use your own images?
—
An alternative approach is you can specify the image location in the shortcode using the ‘image’ or ‘thumb’ argument. To do this:
- In the Post/Page edit screen open up the standard WordPress ‘Add Media’ window (button at the top of the page).
- Select the media item you want to use as the shortcode image, in the ATTACHMENT DISPLAY SETTINGS section bottom right, select Link To: Media File, then highlight and copy the URL in the box below.
- Close the Insert Media Window, and in your shortcode add the argument ‘&image=’ to the end and paste the URL
Your shortcode should now be something like:
[amazon asin=b006i2h084&template=mytemplate&image=.../wp-content/uploads/2014/07/b006i2h084.jpg]
Sounds harder than it really is!
Good luck with your site,
Paul
Thank you for such a quick reply.
Now I understand how the feature works, I see no reason to change it. I can just modify how I am doing this to fit my needs.
I’m going to try something like this in the template:
<img src=”wp-content/uploads/%ASIN%.jpg”>
This way I can use my library of jpgs that are already named after each asin.
Thank you for the clarification, I am all ready to go.