Opening the Image Cropper
The cropper loads your image in a full-size canvas where you can adjust the crop area.
The image cropper fetches the image through a proxy to handle cross-origin restrictions. This means it works with any image URL, including images hosted on external CDNs.
Using the Cropper
The image cropper provides a canvas-based interface for precise cropping.Basic Cropping
- Drag the crop area — Click and drag within the image to reposition the crop frame.
- Resize the crop area — Drag the edges or corners of the crop frame to adjust the size.
- Zoom — Use pinch-to-zoom or scroll to zoom in and out on the image.
- Pan — Click and drag the image to reposition it within the crop frame.
Aspect Ratio Locking
You can lock the crop area to a specific aspect ratio:- Free crop — No constraints, crop to any shape
- Fixed ratio — Lock to common ratios like 1:1 (square), 16:9 (widescreen), 4:3, etc.
Saving Cropped Images
Automatic processing
The cropper extracts the selected area from the canvas, converts it to WebP format, and uploads it to your media library.
WebP Conversion
Cropped images are automatically saved in WebP format, regardless of the original image format. This provides:- Smaller file sizes — WebP compression reduces file sizes significantly compared to JPEG or PNG
- Faster loading — Smaller images load faster on your published Shopify pages
- Consistent format — All cropped images use the same format for uniformity
The WebP conversion happens on the client side before uploading. The cropper renders the cropped area to an HTML canvas, then exports it as a WebP blob for upload.
Before and After
When you open the cropper, you see the full original image. As you adjust the crop frame, only the selected area will be saved. The original image is not modified — a new cropped version is created and uploaded as a separate file in your media library.Common Use Cases
Cropping product photos
Cropping product photos
Remove unnecessary background from product photos to create cleaner, more focused images. Crop tightly around the product for detail shots, or leave more space for lifestyle context.
Creating consistent avatar sizes
Creating consistent avatar sizes
When using real photos for testimonial sections, use the 1:1 aspect ratio lock to crop consistent square avatars from different source photos.
Adjusting hero banner images
Adjusting hero banner images
Reframing screenshots
Reframing screenshots
If you are using screenshots or UI images, crop out unnecessary browser chrome, toolbars, or whitespace to show only the relevant content.
Troubleshooting
Image does not load in the cropper
Image does not load in the cropper
If the image fails to load, it may be due to the source URL being unreachable or a CORS restriction that the proxy could not resolve. Try re-uploading the image to EcomWize’s media library first, then open the cropper on the uploaded version.
Cropped image appears blurry
Cropped image appears blurry
This can happen if you crop a very small area from a low-resolution source image and then display it at a large size. Start with the highest resolution source image available for the best results.
Save button is not responding
Save button is not responding