Can please someone explain to me or bring me on the way how to crop a picture with JavaScript / jQuery?
I’m not looking for a plugin, I want to understand how it is done and use it.
I also don’t want div manipulations with background positions.
I want to crop the actual picture. But only for client side purposes. I don’t need a hook to the back end to save the cropped picture.
Can please someone explain to me or bring me on the way how to
Share
jQuery has no picture cropping functionality.
You could for example use the HTML5 canvas element to achieve that. Here’s a tutorial: