Why can't I upload product images on my ecommerce platform?

I am trying to upload product images, but they all fail. The URLs are all in this form:

https://www.otaku.co.uk/files/images/fullsize/80788E.JPG

The images all work in a browser, but Shopify returns ‘image could not be added’. Am I doing something wrong?

Hello @weeksjh !

Shopify accepts JPG, PNG, and GIF file types for images. The best file type for product images, pages, and blog posts is JPG. The best file type for logos, borders, and trims is PNG.

Each file needs to be smaller than 20 MB to upload to Shopify.

Make sure you are following their requirements.

Hope this helps!

Thanks,

Digital Artisans

No, that does not help.

Hello Weeksjh,
Sometimes the error is due to “CORS policy”.
When trying to add this photo by URL this is the error received is :

Access to fetch at 'https://www.otaku.co.uk/files/images/fullsize/80788E.JPG' from origin 'https://teststore.myshopify.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

To explain it simply, there some premission issues that preventing it.

I know it is not a solution to your question, but I’m assuming you are just trying to add a photo to a product without getting deeper to technical details.
If you are not a developer or have a technical background you can simply download the photo from the source and upload it in the conventional way with Shopify instead of using the URL method.