error with affiliate image with no width info
-
Hi again ;),
I have an error message for a page containing an affiliate link image. It seems to be due to the lack of width information in the embedded img tag. When I add a width there is no more error put the image does not display in the pdf.
TCPDF ERROR: [Image] Unable to get the size of the image: http://ws-na.amazon-adsystem.com/widgets/q?_encoding=UTF8&ASIN=4335865&Format=_SL12_&ID=AsinImage&MarketPlace=US&ServiceVersion=20056753&WS=1&tag=test
I changed the values here in the example, for safety, you never know but that’s basically the message. The tag is <img src=https//ws-na….etc alt=”” border=”0″/> between a link tag. Maybe you can put a default value if not found or ignore the image and display a warning so it doesnt just stop?
Thanks for the support.
The topic ‘error with affiliate image with no width info’ is closed to new replies.