Reply to strange resize problem

strange resize problem new!
by lemik, 15 years, 8 months ago
Hi I have a problem with the resize option... I want to resize an image with a maximum y of 600 px...
This is my code...
$foo->image_resize= true;
$foo->image_ratio_x = true;
$foo->image_y = 600;

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!!!Reply

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important