The Image Store Tag can be written in two different ways.
Let's say you add an item with an ID of 10 to your Catalog Manager, and this item contains an image. You have the following choices when creating the Store Tag to display your item's image.
<!--#ystore_catalog id="10" field="image" format="html" -->
This is the most straightforward way to display your item's image using a Store Tag. This Store Tag would display the image on your web page wherever you inserted it.
If you would like to customize the presentation of your image (for example, to include an alt tag, border setting, or alignment setting) you could use the following version of the Image Store Tag.
<!--#ystore_catalog id="10" field="image" -->
Using this Store Tag generates the image's URL (that portion of an HTML <img> tag that normally appears in quotes) as indicated in bold text below.
If you use this version of the Image Store Tag, be sure to place it within an <img> tag or other appropriate HTML tag, as in the example below. Otherwise, your web page may not display properly.
<img src="<!--#ystore_catalog id="10" field="image" -->" height="X" width="X" alt="your alt text here"-->