note 37366 added to function.getimagesize
| From: | cyril dot buratcyril-burdotcom at rn2 dot php dot net | Date: | Wed, 12 Nov 2003 09:14:59 +0000 |
| Subject: | note 37366 added to function.getimagesize | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-60294@lists.php.net to get a copy of this message | ||
I would just like to say that i'm having a bugger of a time with images.
I have tried EVERY say to get the size of an image but this function is the best so i'll post
my problem here
Problem ---------------------->
I have a script where people enter a picture which is to be displayed but I don't want the
picture to be huge so if its too big I just want to crop it without editing the image (putting the
new sizes in the html code) and it all works fine assuming I use an image from MY server (where the
script is executed) but if someone types a file which isn't on the server the next page says
"The page cannot be displayed" and all that stuff even though the page worked 1 second
ago.
<------------------------------
Please help!
----
Manual Page -- http://www.php.net/manual/en/function.getimagesize.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+37366
Delete -- http://master.php.net/manage/user-notes.php?action=delete+37366&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+37366&report=yes
Search -- http://master.php.net/manage/user-notes.php