class.upload.php is a powerful and mature PHP class to manage uploaded files, and manipulate images in many ways. The script is available under a GPL license.
I'm getting this message from upload class: no jpeg create support.
That´s the log:
system information - class version : 0.32 - operating system : WINNT - PHP version : 5.4.0 - GD version : 2.0.34 - supported image types : png jpg gif bmp - open_basedir : no restriction - upload_max_filesize : 32M (33554432 bytes) - language : en_GB source is an uploaded file - upload OK - file name OK determining MIME type - Checking MIME type with Fileinfo PECL extension Fileinfo PECL extension not available - Checking MIME type with UNIX file() command UNIX file() command not availabled - Checking MIME type with mime.magic file (mime_content_type()) mime_content_type() is not available - Checking MIME type with getimagesize() MIME type detected as image/jpeg by PHP getimagesize() function - MIME validated as image/jpeg source variables - You can use all these before calling process() file_src_name : logo-idea-dim.jpg file_src_name_body : logo-idea-dim file_src_name_ext : jpg file_src_pathname : E:\temp\php11CA.tmp file_src_mime : image/jpeg file_src_size : 10863 (max= 33554432) file_src_error : 0 - source file is an image image_src_x : 100 image_src_y : 100 image_src_pixels : 10000 image_src_type : jpg image_src_bits : 8 process file to E:\\inetpub\\wwwroot\\grpi\\franquia\\franquia_logo\\3\\ - file size OK - file mime OK : image/jpeg - new file name body : 3 - file name safe format - destination variables file_dst_path : E:\\inetpub\\wwwroot\\grpi\\franquia\\franquia_logo\\3\\ file_dst_name_body : 3 file_dst_name_ext : jpg - no auto_rename if same filename exists - destination file details file_dst_name : 3.jpg file_dst_pathname : E:\\inetpub\\wwwroot\\grpi\\franquia\\franquia_logo\\3\\3.jpg - no overwrite checking - image resizing or conversion wanted - source image is JPEG - setting destination file type to jpg - resizing... calculate x size resized image object created image_src_x y : 100 x 100 image_dst_x y : 150 x 150 - converting... fills in transparency with default color - saving image... - error: No JPEG create support.
I'm getting this message from upload class: no jpeg create support.
That´s the log:
system information
- class version : 0.32
- operating system : WINNT
- PHP version : 5.4.0
- GD version : 2.0.34
- supported image types : png jpg gif bmp
- open_basedir : no restriction
- upload_max_filesize : 32M (33554432 bytes)
- language : en_GB
source is an uploaded file
- upload OK
- file name OK
determining MIME type
- Checking MIME type with Fileinfo PECL extension
Fileinfo PECL extension not available
- Checking MIME type with UNIX file() command
UNIX file() command not availabled
- Checking MIME type with mime.magic file (mime_content_type())
mime_content_type() is not available
- Checking MIME type with getimagesize()
MIME type detected as image/jpeg by PHP getimagesize() function
- MIME validated as image/jpeg
source variables
- You can use all these before calling process()
file_src_name : logo-idea-dim.jpg
file_src_name_body : logo-idea-dim
file_src_name_ext : jpg
file_src_pathname : E:\temp\php11CA.tmp
file_src_mime : image/jpeg
file_src_size : 10863 (max= 33554432)
file_src_error : 0
- source file is an image
image_src_x : 100
image_src_y : 100
image_src_pixels : 10000
image_src_type : jpg
image_src_bits : 8
process file to E:\\inetpub\\wwwroot\\grpi\\franquia\\franquia_logo\\3\\
- file size OK
- file mime OK : image/jpeg
- new file name body : 3
- file name safe format
- destination variables
file_dst_path : E:\\inetpub\\wwwroot\\grpi\\franquia\\franquia_logo\\3\\
file_dst_name_body : 3
file_dst_name_ext : jpg
- no auto_rename if same filename exists
- destination file details
file_dst_name : 3.jpg
file_dst_pathname : E:\\inetpub\\wwwroot\\grpi\\franquia\\franquia_logo\\3\\3.jpg
- no overwrite checking
- image resizing or conversion wanted
- source image is JPEG
- setting destination file type to jpg
- resizing...
calculate x size
resized image object created
image_src_x y : 100 x 100
image_dst_x y : 150 x 150
- converting...
fills in transparency with default color
- saving image...
- error: No JPEG create support.
Can you help me?
Then, check out this thread