Reply to Re: Resize image works with v030 but not with v0.34

Re: Resize image works with v030 but not with v0.34 new!
by colin, 6 years, 3 months ago
According to your logs:

The image is properly detected as image, with dimensions of 470x612

- MIME validated as image/jpeg
- source file is an image
image_src_x : 470
image_src_y : 612


The first image is created, but resizing doesn't happen because the created image would be smaller than the original image. Use image_ratio rather than image_ratio_no_zoom:

- file_dst_pathname : C:\wamp64\www\loladev/trombi/praxiling/miniatures/\agent_1-07-09-2018.jpg
- resizing...
calculate y size
image_src_x y : 470 x 612
image_dst_x y : 170 x 221
cancel resizing, as it would shrink the image!


The second image is created,but is not resized as the new image size would be the same as the old image size:

- file_dst_pathname : C:\wamp64\www\loladev/trombi/praxiling/hd/\agent_1-07-09-2018.jpg
- resizing...
calculate y size
image_src_x y : 470 x 612
image_dst_x y : 470 x 612
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