image - Determining dimensions of an uploaded photo using PHP
29
I was wondering if it is possible to get an uploaded images dimensions using PHP, so that I could set it as a potrait/landscape image, which would help in making thumbnails that don't look awful. Anyone know a way to do this?
Thanks!
Answer
Solution:
Sure:
Answer
Solution:
Sure, use getimagesize() on your uploaded file.
Answer
Solution:
Use: getimagesize() function