Badaboom Posted September 23, 2011 Share Posted September 23, 2011 Hi guys I need some info Am doing an upload page for pictures, that crops images to two different sizes which works fine with small images. However some larger images it doesn't work (locally it works but not on the my server provider). I can upload the file (3481 * 2346 at 300 dpi) no problem but it actually never executes the imagecreatefromjpeg($myUploadedFile). Is there any issues with large file. I've been doing some recherches but can't seem to find any answer. The obvious idea is to have people upload photos without asking them to resize them. Thanks Quote Link to comment https://forums.phpfreaks.com/topic/247725-imagecreatefromjpeg-need-some-info/ Share on other sites More sharing options...
Pikachu2000 Posted September 23, 2011 Share Posted September 23, 2011 Are you checking to make sure there are no upload errors by inspecting the value in $_FILES['your_filename']['errors']? http://www.php.net/manual/en/features.file-upload.errors.php Quote Link to comment https://forums.phpfreaks.com/topic/247725-imagecreatefromjpeg-need-some-info/#findComment-1272114 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.