PHP_image_resize
PHP_image_resize copied to clipboard
Cropping not resizing
The new image created is being cropped not resized. For example i upload an image of 500x500 and give a new dimension of 300x300. This crops the image which makes it lose some parts of it. Please how can i get the full image to be displayed(something like shrink) but with the new dimensions. Thank you.
This question is asked before but the solution was given in HTML but I want to make the function work, I mean tell me what to do to make the PHP function do that, so please help
did you try setting $proportional to true ?
Ok , I will try and thanks for your reply, For me I liked the way how it works I mean maybe I won't need to make it resize the pictures but other users may want to resize their picture not crop, So I wish it works, and thank you again :) :) :) :+1: