lichengdong / timthumb

Automatically exported from code.google.com/p/timthumb
1 stars 0 forks source link

Any way to add width & height attributes to the generted image? #267

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When an image is generated with TimThumb, it does not include any height or 
width attributes. This can cause a page layout to shift once the images have 
loaded. It would be great if there were a way to get the height and width of 
the generated image so we could include that in the <img> tag.

Cheers,
Dalton

Original issue reported on code.google.com by dal...@madebyraygun.com on 22 Sep 2011 at 7:16