Feature request from schnappenberger, posted on GitHub Nov 09, 2016
if you delete an image a.jpg from a product A gallery and have another product B which uses a.jpg, then a.jpg will be deleted in file system and product B looses this image also.
Comment from palamar, posted on GitHub Nov 11, 2016
This is not a bug but expected behavior for such case.
A bug report converted to improvement.
Comment from schnappenberger, posted on GitHub Nov 11, 2016
Placeholder images in product listings and detail views are expected behaviour? How can i replace such an image without loosing images in other places?
If you want replace default placeholder image, you can do this in
(admin area) -> Stores -> Configuration -> Catalog -> Catalog -> Product Image Placeholders
globally for all websites or for each website or store view separately.
Sorry, that was missleading. I meant if you delete an image which is used in other products you will see an placeholder image on these products because the source file doesn’t exists anymore. I don’t have the possibility to delete only the relation and keep the source file.
In a huge catalog with a grown structure of images and products it’s nearly unpossible to say where those duplicated images were used.