Magento 产品水印看起来不透明 - 有什么想法吗?
我有一个 Magento 版本。 1.3.3.0 安装时,我遇到产品水印透明度问题。 水印是一个 .png 文件,但在产品上查看时,它会失去透明度并具有纯白色背景。商店里的产品是野生动物艺术家的画作,所以这真的破坏了艺术品。
有人在 1.3.3.0 中遇到过这种情况吗?在这个阶段升级并不是一个真正的选择,因为该网站需要尽快上线。
问候
丹
I have a Magento ver. 1.3.3.0 install, I am having a problem with the transparency of product watermarks.
The watermark is a .png file but when it is viewed on the product it loses its transparency and has a solid white background. The products on the shop are a wildlife artists paintings so this is really spoiling the artwork.
Has anyone experienced this with 1.3.3.0? Upgrading at this stage is not really an option as the site needs to go live soon.
Regards
Dan
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果这种情况仅发生在 PNG 文件上,并且您已保证原始文件具有适当的透明度,那么您是否在 Internet Explorer 中查看该页面?
旧版本的 Internet Explorer 无法正确渲染 PNG Alpha 值,这意味着 PNG 透明度不起作用。网上有多个 javascript 修复程序。
如果它发生在 Chrome/Firefox/Safari 中,那么发布你的 CSS,因为可能有一行影响 PNG 文件的 alpha 透明度。
If it only happens with PNG files and you have guaranteed that the original has the proper transparency then are you viewing the page in Internet Explorer?
Older versions of Internet Explorer don't properly render PNG alpha values, meaning that PNG transparency doesn't work. There are multiple javascript fixes for it online.
If it happens in Chrome/Firefox/Safari then post your CSS, as there may be a line affecting the alpha transparency of PNG files.
http://www.magentocommerce.com/bug-tracking/issue?issue=6020
您的版本存在已知错误 - 如果您将 1.3.2.1 版本的 lib/varien/image/adapter/Gd2.php 粘贴到 1.3.1 版本的 Magento 中,可能会快速修复。请务必在覆盖文件之前进行备份,我建议保留一份副本以在执行完整升级时重命名。
http://www.magentocommerce.com/bug-tracking/issue?issue=6020
known bug with your version - if you paste the 1.3.2.1 version of lib/varien/image/adapter/Gd2.php into your 1.3.1 version of Magento may be a quick fix. Be sure and make a backup before overwriting the file, and I would suggest keeping a copy to rename upon performing a full upgrade.