Add an Image Cropper to your Shopify store

Add an image cropper to your Shopify site and set image requirements like crop aspect ratio and image target size. Use CropGuide and receive better images.

Adding an image cropper into your Shopify store enhances the customer experience for personalized products. It allows customers to precisely edit and adjust their images before applying them to items, ensuring the final product looks exactly as they envisioned.

This guide helps you set up CropGuide to enhance any file upload field used in Shopify themes with image cropping functionality.

Installing CropGuide

To get started we first need to create a CropGuide account

Log in to CropGuide and add your domain to the control panel.

The control panel will generate a unique script for your domain similar to the one shown below:

<script>
(function (w, d) {
    w.$cropguide = ['GFFFYQ'];
    var s = d.createElement('script');
    s.async = true;
    s.src = 'https://cdn.cropguide.io/l.js';
    d.head.append(s);
})(window, document);
</script>

With your CropGuide account created let’s log in to the Shopify store admin.

Adding CropGuide to a page

  1. Select your store in the sales channels list.

  2. Click Pages and select the page you want to add CropGuide to.

  3. Click <> to show the page HTML

  4. Copy the CropGuide script for your domain to the end of the page content.

  5. Click Save

Adding CropGuide to a product

  1. Click Products and select the product you want to add CropGuide to.

  2. Click <> to show the description HTML

  3. Copy the CropGuide script for your domain to the end of the content.

  4. Click Save

That's it! CropGuide will now load and transform images when they're added to a file upload field on your Shopify page.

You can adjust the behavior of CropGuide in the control panel for your domain, or you can set custom instructions per field.

Please feel free to reach out to us if you have any questions.

Learn more about CropGuide

Related content

Our photo editing technology is trusted by amazing companies

  • Dropbox
  • Square
  • ConvertKit
  • Funda
  • Global

Frequently Asked Questions

  • How can I let customers crop product photos before uploading them to Shopify?

    Add CropGuide to a page or product with an existing file upload field. Customers edit their photo before that field receives it, and your existing upload process handles the result. Follow the setup steps.

  • Do I need to replace my Shopify upload field to add an image editor?

    No. CropGuide enhances existing file upload fields on Shopify pages and products after you add the script. Your existing upload process receives the edited image.

  • Can I require a crop aspect ratio or minimum image size on Shopify?

    Yes. Configure the field’s aspect ratio and minimum image dimensions in your CropGuide dashboard. Minimum image size is available on Pro and Unlimited plans. See the configuration guide for the available settings.

  • Will edited product photos still upload through my Shopify form?

    Yes. CropGuide returns the edited file to your Shopify upload field. Your existing form then uploads it to its usual destination; CropGuide does not store the image.