Closed
Description
When saving a product in admin, extra images are generated in pub/media/catalog/product/cache.
the sizes are coming from the view.xml file defined in the luma and blank themes in the vendor core folder.
Preconditions
- A custom theme with a custom image sizes defined in the view.xml file.
- Magento 2.1.7 C.E., in development or production mode.
- Running in ngingx with php 7.0.
Steps to reproduce
- Have a look at pub/media/catalog/product/cache
- Go to admin
- Go to Product -> Catalog -> select an article.
- Save the product (is not necessary any modification)
- Have a look again to the cache folder.
Expected result
- In the cache image folder, only the image sizes defined in our custom theme view.xml file exists plus the sizes defined in magento backend theme view.xml file.
Actual result
- In the images cache folder appears extra images that have no relation with our theme or magento backend theme etc/view.xml file.
- Those extra sizes are coming from the view.xml file defined in the luma and blank themes in the vendor core folder.
How I can avoid those extra images generated in the cache folder?
Metadata
Metadata
Assignees
Labels
Cannot reproduce the issue on the latest `2.4-develop` branchGate 2 Passed. Manual verification of the issue description passedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 1 Passed. Automatic verification of issue format passedGate 4. Acknowledged. Issue is added to backlog and ready for developmentThe issue has been reproduced on latest 2.1 releaseThe issue has been reproduced on latest 2.2 release