Back

Graphic Images
imageAttributes
Attributes in the <img> tag such as WIDTH or HEIGHT Default: `''` Since phpLens 2.1.1, if you have the exif extension installed and leave $lens->imageAttributes empty, phpLens will auto-calculate the img tag's height and width for you, using GetImageSize( ). If you do not have exif installed and this property is not defined, we let the browser size the images. Since 2.7, we autodetect the ^ symbol, and if we detect ^, we assume that the settings are on a column by column basis. Syntax `#If you want all images to be 100 pixels wide and 120 pixels high: $lens->imageAttributes='WIDTH=100 HEIGHT=100'; #If you want to manage different sizes for different images: $lens->imageAttributes='colA^height=20;colB^height=99';` Basic:Yes Advanced/Enterprise:Yes DynamicEdit:No [Version 1.0]