View Single Post
Old 07-23-2006, 03:55 AM  
Brujah
Beer Money Baron
 
Brujah's Avatar
 
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
Any good with javascript?

I have some blog entries imported that include images. Some of the images exceed the width of the column. The column is 450 pixels that I'm working with. If possible I would like a way to detect the image size onload and resize it to 450 if it's width is greater. Like the images on this forum do.
__________________
Brujah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote