我已经在PHP7.3版本的Ubuntu 18.04上安装了Fresh Magento2.4。我已经完成了这里提到的所有配置https://docs.magento.com/user-guide/catalog/product-image-watermarks.html来添加水印图像。
添加水印图像配置后,我运行了以下命令bin/magento缓存:清理bin/magento缓存:flush bin/magento设置:升级bin/magento设置:di:编译库/magento设置:static-content-deploy -f en_US en_GB bin/magento indexer:reindex bin/magento目录: image :调整大小
在所有这些操作之后,水印图像不会显示在类别页面或产品详细信息页面上,请参阅以下图像
任何帮助都是非常感谢的。
发布于 2020-09-16 18:22:01
转到管理端。在您的商店主题名称上选择content.
发布于 2020-09-18 23:11:21
Magento 2.3.4为每种图像类型提供设置水印。
以下是图像类型:
上显示
确保您遵循了Magento文档https://docs.magento.com/user-guide/catalog/product-image-watermarks.html提供的所有步骤
我不认为你需要安装升级命令和静态内容部署。你只需要清理缓存即可。
我遵循了同样的指令,结果如下。

https://stackoverflow.com/questions/63880148
复制相似问题