I cant seem to get images to display with my [amazon ] input filter...
Anyone else having problems getting the inline|full|thumbnail arguments to take effect?
Is there a bug?
Or do I have a setting wrong?
I have:
[amazon 0553378252 full]
[amazon 0688177883 thumbnail]
[amazon 0805444769 inline]
[amazon 0805444777 full]
bit it displays as (all just text as a link):
What's Going on in There? : How the Brain and Mind Develop in the First Five Years of Life
Mommy, Teach Me!: Preparing Your Preschool Child for a Lifetime of Learning
Mommy, Teach Me to Read!: A Complete and Easy-to-Use Home Reading Program
one is missing! (the one with the thumbnail argument)
but if I put:
[amazon 0553378252 full]
[amazon 0688177883 full]
[amazon 0805444769 full]
[amazon 0805444777 full]
then I get (all just text as a link):
What's Going on in There? : How the Brain and Mind Develop in the First Five Years of Life
The Scientist in the Crib: What Early Learning Tells Us About the Mind
Mommy, Teach Me!: Preparing Your Preschool Child for a Lifetime of Learning
Mommy, Teach Me to Read!: A Complete and Easy-to-Use Home Reading Program
here is an example of the html source code from the page that displays the links generated from my amazon input filter:
<strong><a href="http://www.amazon.com/Whats-Going-There-Brain-Develop/dp/0553378252%3FSubscriptionId%3D0CD9RCQYM0TBVH55NB82%26tag%3Dtoylibrary-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D0553378252">What's Going on in There? : How the Brain and Mind Develop in the First Five Years of Life</a></strong>
my input filter I created (and selected) looks like:
Amazon
* Link to Amazon products with: [amazon product_id inline|full|thumbnail]. Example: [amazon 1590597559 thumbnail]
* Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
* Lines and paragraphs break automatically.
* Web page addresses and e-mail addresses turn into links automatically.
the odd thing is when I access the test via the amazon module admin page (admin/settings/amazon/test) for say: 0805444777
It displays and image and more product information... this is the source code from the page it generates:
<div class="amazon-item amazon-item-book amazon-item-details">
<img src="http://ecx.images-amazon.com/images/I/51NAG-zsoxL._SL75_.jpg" alt="Image of Mommy, Teach Me to Read!: A Complete and Easy-to-Use Home Reading Program" title="Mommy, Teach Me to Read!: A Complete and Easy-to-Use Home Reading Program" height="75" width="59" /><div><strong><a href="http://www.amazon.com/Mommy-Teach-Read-Easy-Use/dp/0805444777%3FSubscriptionId%3D0CD9RCQYM0TBVH55NB82%26tag%3Dtoylibrary-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D0805444777">Mommy, Teach Me to Read!: A Complete and Easy-to-Use Home Reading Program</a></strong></div>
<div><strong>Author:</strong> Barbara Curtis</div>
<div><strong>Publisher:</strong> B&H Publishing Group (2007)</div>
<div><strong>Binding:</strong> Paperback, 166 pages</div>
</div>
and here is the output of the node info that appears directly under that:
Array
(
[asin] => 0805444777
[title] => Mommy, Teach Me to Read!: A Complete and Easy-to-Use Home Reading Program
[detailpageurl] => http://www.amazon.com/Mommy-Teach-Read-Easy-Use/dp/0805444777%3FSubscriptionId%3D0CD9RCQYM0TBVH55NB82%26tag%3Dtoylibrary-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D0805444777
[salesrank] => 52524
[brand] =>
[publisher] => B&H Publishing Group
[manufacturer] => B&H Publishing Group
[mpn] =>
[studio] => B&H Publishing Group
[label] => B&H Publishing Group
[binding] => Paperback
[releasedate] =>
[listpriceamount] => 1299
[listpricecurrencycode] => USD
[listpriceformattedprice] => $12.99
[productgroup] => Book
[producttypename] => ABIS_BOOK
[timestamp] => 1226605485
[author] => Array
(
[0] => Barbara Curtis
)
[participants] => Array
(
[0] => Barbara Curtis
)
[imagesets] => Array
(
[smallimage] => Array
(
[size] => smallimage
[url] => http://ecx.images-amazon.com/images/I/51NAG-zsoxL._SL75_.jpg
[height] => 75
[width] => 59
)
[mediumimage] => Array
(
[size] => mediumimage
[url] => http://ecx.images-amazon.com/images/I/51NAG-zsoxL._SL160_.jpg
[height] => 160
[width] => 125
)
[largeimage] => Array
(
[size] => largeimage
[url] => http://ecx.images-amazon.com/images/I/51NAG-zsoxL.jpg
[height] => 500
[width] => 391
)
)
[editorialreviews] => Array
(
[0] => Array
(
[source] => Product Description
[content] => There is a growing realization that most learning takes place among kids before they enter kindergarten, when every boy and girl's drive to discover is strongest.
And in a world where reading means succeeding, you can inspire a lifelong love of books and language in your child at home with Mommy, Teach Me to Read!. The easy-to-learn, fun-to-follow reading program and activities presented here will help you build a foundation of joyful learning on which your child can continue to build in the coming years.
Author Barbara Curtis, a Montessori teacher and mother of twelve, uses a wealth of common sense to dispel the mystique of professionalism that surrounds the teaching of children and shares insight about each child's God-given potential for learning, while helping parents discover their own potential as teachers.
"Don't invest another dollar in reading materials before you've finished reading this book," she advises. "You may be very surprised at how simple it actually is to produce an excellent and enthusiastic reader." ) ) [deweydecimalnumber] => 372.41 [edition] => [numberofpages] => 166 [publicationdate] => 2007-06 )
I have checked in the storage tab:
x Store Amazon data locally
Amazon refresh schedule: "1 day"
Cached information on Amazon items must be refreshed regularly to keep pricing and stock information up to date. Cron must be enabled for this function to work properly.
Store extended product data:
x Book authors, film actors, etc.
x Product images
Editorial reviews
Anyone else having problems getting the inline|full|thumbnail arguments to take effect?
Is there a bug?
Or do I have a setting wrong?
Thanks!
Comments
Comment #1
yesct commentedWhat could be wrong.. ? It looks like others can get the image to display
Is Anyone else having the options to the amazon filter not have any effect?
Thanks!
Comment #2
aircraftmania commentedyup,
the amazon filter do not have effect in my (trial) site too, checkout computer.shopmild.com.
I'm not sure what's going on there, but it probably the webhosting? or else?...
Comment #3
Natalie@drupal.ru commentedI'm having the same problem. It's definitely a bug.
Comment #4
yesct commentedI'm bumping this up... this is still an issue for me, does it work for anyone?
Comment #5
drurian commentedI can now display an image and custom themes.
Comment #6
ln282 commentedYou need to add
<img>to the list of allowed html tags in your input filter or images are filtered out.Comment #7
rfayAssuming this is resolved.
Comment #8
rfaySetting to fixed since there's no feedback on this. See the filter documentation at http://drupal.org/node/595464#filters for more information.