- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
problem catalog:image:resize placehoder
Hi, when i use php bin/magento catalog:image:resize i get this error:
1/65247 [>---------------------------] 0% 1 sec 58.0 MiB | /m/e/metzeler- six-6-days-extreme-90-90-21-.jpg 2/65247 [>---------------------------] 0% 2 secs 58.0 MiB | /m/e/metzeler-six-6-days-extreme-90-90-21-omologata-f.i.m-anteriore-HARD.jpgFile'/var/www/vhosts/domain.it/test.domain.it/pub/media/var/www/vhosts/domain.it/test.domain`enter code here`.it/vendor/magento/module-catalog/view/base/web/images/product/placeholder/swatch_image.jpg'does not exist.
The file exist.
I have tryed to change permissions and to change images but not work.
how can i solve it?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: problem catalog:image:resize placehoder
Hello @fabio_offroadstore
There are multiple solutions you can follow one by one:
1.
You are missing swatch image place holder. Either upload it from the backend or upload manually to below file path
/home/public_html/vendor/Magento/module-catalog/view/base/web/images/product/placeholder
name should be swatch_image.jpg only.
2.
Check file/folder permission at vendor/magento/module-catalog/view/base/web/images/product/placeholder
3.
Remove pub/media/catalog/product/cache. (Removing this folder frees up space.)
Run bin/magento catalog:image:resize to generate a new image cache. (This step is necessary because, changed the path to cached images and must remove the previously cached images.) and then again run previous commands.
https://www.manishmittal.com/