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.
And i just get a blank page... if i set the image_y size up to 369 IT WORKS FINE!!! but if set it above that i just get the blank page... here´s my log for a correct proccess with 369px... log wont show for a failed resize..
system information - class version : 0.26 - GD version : 2.0.34 - supported image types : png jpg gif bmp - open_basedir : no restriction - language : en_GB source is an uploaded file - upload OK - file name OK - MIME type detected as image/gif by UNIX file() command - source variables file_src_name : img2.gif file_src_name_body : img2 file_src_name_ext : gif file_src_pathname : /Applications/MAMP/tmp/php/phpO94Kq1 file_src_mime : image/gif file_src_size : 5258 (max= 33554432) file_src_error : 0 - source file is an image image_src_x : 400 image_src_y : 900 image_src_pixels : 360000 image_src_type : gif image_src_bits : 4 process file to /Users/mikel/www/bastida//images/productos/ - file size OK - file mime OK : image/gif - file name safe format - destination variables file_dst_path : /Users/mikel/www/bastida//images/productos/ file_dst_name_body : img2 file_dst_name_ext : gif - image operation, keep extension - checking for auto_rename auto_rename to img2_12.gif - destination file details file_dst_name : img2_12.gif file_dst_pathname : /Users/mikel/www/bastida//images/productos/img2_12.gif - img2_12.gif doesn't exist already - image resizing or conversion wanted - source image is GIF - setting destination file type to gif - image is detected as having a palette convert palette image to true color - resizing... calculate x size resized image object created image_src_x y : 400 x 900 image_dst_x y : 164 x 369 - converting... true color to palette - saving image... GIF image created image objects destroyed - process OK
This is my code...
And i just get a blank page... if i set the image_y size up to 369 IT WORKS FINE!!! but if set it above that i just get the blank page...
here´s my log for a correct proccess with 369px... log wont show for a failed resize..
system information
- class version : 0.26
- GD version : 2.0.34
- supported image types : png jpg gif bmp
- open_basedir : no restriction
- language : en_GB
source is an uploaded file
- upload OK
- file name OK
- MIME type detected as image/gif by UNIX file() command
- source variables
file_src_name : img2.gif
file_src_name_body : img2
file_src_name_ext : gif
file_src_pathname : /Applications/MAMP/tmp/php/phpO94Kq1
file_src_mime : image/gif
file_src_size : 5258 (max= 33554432)
file_src_error : 0
- source file is an image
image_src_x : 400
image_src_y : 900
image_src_pixels : 360000
image_src_type : gif
image_src_bits : 4
process file to /Users/mikel/www/bastida//images/productos/
- file size OK
- file mime OK : image/gif
- file name safe format
- destination variables
file_dst_path : /Users/mikel/www/bastida//images/productos/
file_dst_name_body : img2
file_dst_name_ext : gif
- image operation, keep extension
- checking for auto_rename
auto_rename to img2_12.gif
- destination file details
file_dst_name : img2_12.gif
file_dst_pathname : /Users/mikel/www/bastida//images/productos/img2_12.gif
- img2_12.gif doesn't exist already
- image resizing or conversion wanted
- source image is GIF
- setting destination file type to gif
- image is detected as having a palette
convert palette image to true color
- resizing...
calculate x size
resized image object created
image_src_x y : 400 x 900
image_dst_x y : 164 x 369
- converting...
true color to palette
- saving image...
GIF image created
image objects destroyed
- process OK
Thanks!!!
See this post or this one or this one.