Cart    Account    Contact    Newsletter Signup    Showcase    Login    Signup

Developers Docs

Image

The product tag builds all of the details for a given product. he categories in the catalog. For an exmple of how the tag is used in practice view http://demo.brilliantretail.com/product/long-sleeve-shirt. All of the internal tags in the product tag are available to the BrilliantRetail fieldtype and can be called with the fieldtype name as a tagpair in a channel. 

Parameters
  • src (required) - The path to the image relative to the media directory.
  • width (required) - The width of the image in pixels.
  • height (required) - The height of the image in pixels. 
  • title (optional) - The title attribution on the img tag that is returned.
  • url_only (optional | default = 'no') - If set to 'yes' then the tag will return only the url to the new cached image.

 

{exp:brilliant_retail:image src="{image_thumb}" width="75" height="90" url_only="no" title="My Title"}

Comments

  • By JonnyTurner on Wednesday June 8th, 2011 at 3:36am

    In case you want to use CE Image for your site, use the following:

    {images}
        {exp:ce_img:single src=”/media/{filenm}” max=“300”} 
    {/images}

Add Your Comments


You must be logged in to comment.