function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sumant KuchipudiSumant Kuchipudi 

How can we do crop and rotate an uploaded image using jQuery?

Hi,
Is there any sample code for Image upload, Rotate, and Crop using JQuery or any other tools? after that I want to save the image in Attachment. 

Thanks
SandhyaSandhya (Salesforce Developers) 
Hi,

You can refer below blog which has sample code in visual force page using jquery and JS.

http://anuragsfdc.blogspot.com/2015/02/image-croping-tool-with-js-and-jquery.html
 
https://stackoverflow.com/questions/19518721/image-crop-after-rotate-by-canvas
 
https://salesforce.stackexchange.com/questions/126346/edit-image-before-upload
 
Please mark it as solved if my reply was helpful. It will make it available for other as the proper solution.
                                             
Best Regards
Sandhya