Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cropping not resizing #16

Open
Khalilbz opened this issue Oct 13, 2016 · 2 comments
Open

Cropping not resizing #16

Khalilbz opened this issue Oct 13, 2016 · 2 comments

Comments

@Khalilbz
Copy link

Khalilbz commented Oct 13, 2016

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

@Nimrod007
Copy link
Owner

did you try setting $proportional to true ?

@Khalilbz
Copy link
Author

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 :) :) :) 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants