View Single Post
  #1  
Old 07-30-2007, 05:08 AM
  abeight's Avatar 
abeight abeight is offline
 

X-Adept
  
Join Date: Nov 2003
Location: Cleveland, OH
Posts: 479
 

Default Set a max width on product images?

Is there an IF statement that can be used on the product image that says if the width of the image is larger than X, use a set fixed width?

For example, I want providers to be able to upload product images that are up to 200 pixels wide. But if they upload an image that is 400 pixels wide, I want the width to be set to 200 pixels in the template so that the large image doesn't mess up the page layout.

TIA!
__________________
~ Andrea Beight
Reply With Quote