Maybe not a php question, but is there a way to determine the size of an image before I display it? If its too large I'd like to limit its size on the page.
PHP's image functions are fairly limited unless you have the GD module installed, but fortunately the functions to READ information are available with or without GD. (GetImageSize is the function you will be looking for). -------------------------------------------
"Calculus is just the meaningless manipulation of higher symbols" -unknown F student
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.