Miva Merchant 4 Module FAQs » Category Page Templates (BROK_CTGYTEMPLATES)


{docurl}

Displaying Images at a Particular Size

Is it possible display the images at particular size?

Yes it is. You have to replace the token that you're using to display the image with the actual html (using tokens). For example, if you're displaying the product thumbnail linked to the product with the token %prodthumbL% and you want to restrict the image to 100 pixels x 100 pixels, you could replace that token with:

<a href="%sessionurl%Screen=PROD&Store_Code=%encstore|code|%&Product_Code=%encproduct|code|%&Category_Code=%enccategory|code|%"><img src="%product|thumbnail|%" border="0" alt="" width="100" height="100" /></a>

Similarly, you could replace an unlinked product image displayed with the %prodimage% token with:

<img src="%product|image|%" border="0" alt="" width="200" height="200" />



Last update: 2008-03-04 09:49
Author: Support
Revision: 1.1

Print this record Send FAQ to a friend Show this as PDF file
Please rate this FAQ:

Average rating: 1 out of 5 (2 Votes )

completely useless 1 2 3 4 5 most valuable

You cannot comment on this entry

Records in this category