Difference between revisions of "Constraining Image Size"

From SmartWiki
Jump to: navigation, search
Line 1: Line 1:
When you use a [[Custom Field Type (34): Display Only – Image|Display Only - Image]] type field the image is displayed at its original size.
+
When you use a [[Custom Field Type: Display Only – Image|Display Only - Image]] type field the image is displayed at its original size.
  
 
* You can constrain the image size in view by using the Height '''OR''' Width setting of the [[Custom Fields|custom field]].  
 
* You can constrain the image size in view by using the Height '''OR''' Width setting of the [[Custom Fields|custom field]].  

Revision as of 17:15, 15 April 2009

When you use a Display Only - Image type field the image is displayed at its original size.

  • You can constrain the image size in view by using the Height OR Width setting of the custom field.
  • If you set just the height or the width then the browser will scale the image acutely.
  • If you set both the height and the width the image will be distorted to match those proportions.
  • The measure used is in Pixels.