We noticed a lot of images have disappeared from our webshop.
It seems to only apply to secondary product images, we haven't encountered any products (yet) that do not have an image at all.
Is this a CDN issue and how do we resolve it / prevent it from happening again after re-uploading all missing images?
Are you sure it's not a display issue in your theme code? ... or maybe uploading by spreadsheet and overwriting?
I haven't heard of product images deleting themselves.
If you believe it's a website issue send the URL and we can take a look.
it is neither a display issue in our theme code (images are missing in the back end as well) or uploading by spreadsheet and overwriting (we don't).
FYI; I've found multiple instances where people raise the same issue here on the Shopify discussion panel, without any resolution besides them simply re-uploading the images themselves.
An example of a product where it happened:
This is the image url for the image shown:
Our product image name taxonomy is numbered at the end, so the next image in this case is simply 1012-Terra-Hydro-XS-1.jpg
https://cdn.shopify.com/s/files/1/0072/3104/5683/products/1012-Terra-Hydro-XS-1.jpg does not return anything
For a quite a few (seemingly random) products, the (secondary) images just vanished.
In that case I would contact Shopify support. Maybe they can check their logs to see what action caused the products to be deleted.