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.
Your image is being resized to fit within 150x150 by default. So if you set only image_x to be 200 (or 800) and not image_y, then image_y defaults to 150. So for the second process(), you are resizing within 800x150, and because your original image aspect, it ends up resizing into 200x150 to keep the ratio.
This is why your image is always being resized to an height of 150 pixels. Set image_y to be something (150 pixels, or 600 pixels, etc...) and it will work.
If you use image_ratio_no_zoom_xxx, you must set image_x and image_y.Reply
This is why your image is always being resized to an height of 150 pixels. Set image_y to be something (150 pixels, or 600 pixels, etc...) and it will work.
If you use image_ratio_no_zoom_xxx, you must set image_x and image_y.