Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

image file sizes

Status
Not open for further replies.

gagz

Programmer
Nov 21, 2002
333
US
Hi-

I'm fairly new to PHP, having most of my background in perl and asp... I was wondering if there was a way on the fly to get the height/width of an image file so it could be resized to set width or height (depending on orientation), so I can keep it proportional...

Any thoughts?

Thanks...
 
so is the best way to create a thumbnail and a set size image to just get the image size, and set the h/w attributes of an img tag? or can I actually resize the image (not just make it look a different size)?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top