PDA

View Full Version : an error trying to upload images



galo
07-26-2004, 07:46 PM
Hi, well my Images directory is ready set up to 777 including the subfolders, and when i try to upload an image i get this error message:

Fatal error: Call to undefined function: imagecreatefromjpeg() in /usr/web/web1/fernando/public_html/brokermex/include/thumbnail_gd.php on line 32


Any suggestion ???

Thanks

galo
07-26-2004, 07:57 PM
Me again, I can upload just .gif files....

the error that i get is with jpg files, any way i check my common file and all looks fine, check your self:

$config['allowed_upload_types'] = array('image/pjpeg','image/jpeg','image/gif', 'image/x-png', 'image/jpg'); // allowed file types

$config['allowed_upload_extensions'] = array('jpg','gif','png');


:s :s :s

Mick
07-27-2004, 03:14 AM
you don't have GD libs installed on your server.. you can turn thumbnailing off.. use imagemagik or have your host install GD libs...

ltp
07-27-2004, 04:01 AM
you also might want to think about getting to a better host if they do not have those tools for you.

i know me and ryan both do hosting. mine is just not ready for primetime.