Shopify image requirements
What Shopify rejects and recommends in a product photo, and how Photos.sh checks a photo against it and fixes it in one step.
Create account
Checked 2026-11-06
The rules
A photo that breaks a rule marked rejected is refused or suppressed; a recommended one is advice. The photo check measures each of them on your photo.
- Rejected At most 5,000 × 5,000 px
- Rejected At most 25 megapixels
- Rejected At most 20 MB a file
- Rejected In JPEG, PNG, WebP, HEIC or GIF
- Recommended At least 2,048 px on the longest side — Shopify recommends 2048 x 2048 px for square product images.
More on Shopify
- Check by eye
- Keep one aspect ratio across a product's featured images.
- The fix makes
- 2,048 × 2,048 px, JPEG, under 20 MB. Added text is painted out where the marketplace forbids it, and a photo under its minimum size is upscaled.
In the API
Check a photo against Shopify’s rules, or fix it and get the photo back. One credit a photo. API reference
curl -X POST "https://api.photos.sh/v1/check?marketplace=shopify" \
-H "Authorization: Bearer $PHOTOS_KEY" \
-H "Content-Type: image/jpeg" \
--data-binary @photo.jpg
curl -X POST "https://api.photos.sh/v1/fix?marketplace=shopify" \
-H "Authorization: Bearer $PHOTOS_KEY" \
-H "Content-Type: image/jpeg" \
--data-binary @photo.jpg \
-o fixed.jpg