Sometime you may need to show thumbnails of your Ecwid products on other sites. You can always grab and use a direct image link,
but if you upload a new product the image the link will be changed. So the old link will become invalid.
In order to solve this issue, you need to use a special widget to show a product thumbnail. You can get it from the "single product" widget.
The code of an image widget looks like this:
<div>
<script type="text/javascript" src="http://app.ecwid.com/script.js?STORE_ID"></script>
<script type="text/javascript">xProductThumbnail('productid=PRODUCT_ID');</script>
</div>
Where STORE_ID is the id of your store and PRODUCT_ID is the id of a product.
For example:
<div>
<script type="text/javascript" src="http://app.ecwid.com/script.js?1003"></script>
<script type="text/javascript">xProductThumbnail('productid=24027');</script>
</div>
24027 is the id of the Ecwid Men's T-Shirt product.
Result: