Link to home
Start Free TrialLog in
Avatar of Brad Brett
Brad BrettFlag for United States of America

asked on

Getting image position supplied by the user and cropping it

Continuing the answer of this question: https://www.experts-exchange.com/questions/27549037/Resizing-image-to-be-the-same-size-as-in-Facebook-timeline-cover.html

I am looking to do the same Facebook timeline cover, I want the user to upload an image, position it on a cover (same as Facebook timeline cover size), then the server should crop and resize it to look nice.

I want example to get the EXACT result as on Facebook timeline cover.
SOLUTION
Avatar of Michel Plungjan
Michel Plungjan
Flag of Denmark image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Brad Brett

ASKER

@mplungjan: Okay this should solve the first problem which is getting the image position supplied by the user.

Now, I am looking to modify this code:
https://www.experts-exchange.com/questions/27549037/Resizing-image-to-be-the-same-size-as-in-Facebook-timeline-cover.html

To give the method the coordinates x, y, w, h to crop the image and result the same as Facebook timeline cover.

Thanks,
I suggest Ray can handle that part better :)
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi Ray,

I need to modify the code you have posted earlier in:
https://www.experts-exchange.com/questions/27549037/Resizing-image-to-be-the-same-size-as-in-Facebook-timeline-cover.html

To give the method the coordinates x, y, w, h to crop the image and result the same as Facebook timeline cover.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial