Wednesday, July 2, 2014

Thumbnail Images

We are glad to inform you that now we support images in our feeds. At the moment thumbnails from Shopzilla, Twenga, eBay and Zemanta feed providers are compatible with our platform. Your publishers can call their feeds with “image_size” parameter (150x150 is used by default):
http://{XML_DOMAIN}/search?feed={feed}&auth={auth}&subid={subid}&ua={ua}&url={url}&user_ip={ip}&query={query}&image_size={image_size}

For example, here’s a result returned by Twenga remote feed:
<result>
<listing title="Apple iPad Air 16 Go Space Grey Wi-Fi Cellular 4G" descr="Apple iPad Air 16 Go Space Grey Wi-Fi Cellular 4G... Price: 529,22 €" site="r.twenga.es" bid="0.050859" url="http://{XML_DOMAIN}/click?i=sX9o*ssz6pU_0" image="http://{XML_DOMAIN}/thumbnail?i=sX9o*ssz6pU_0"/>
</result>

If you call feed with parameter "image_size=150x150" (default value) our system picks images in the following way:
  • exact match (150x150);
  • larger image (up to 2x) with the deviation in proportions up to 20% (for example, 300x250 size will be matched);
  • smaller image (down to 1.5x) with the deviation in proportions up to 20% (for example, 100x100 will be matched as well).

No comments:

Post a Comment