Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用具有集成 Cloud Zoom 的 Shopware。我已经找到了 Cloud Zoom 的 javascript 和 CSS 表达式,但我找不到更改图像放大系数的选项。
任何帮助将不胜感激。
谢谢,塞巴斯蒂安
刚刚在谷歌搜索类似的东西时发现了这个问题。作为记录,这里是调整 CloudZoom 参数的方法。在 JS 文件中(例如在您的模板中)使用如下内容:
(function($) { $.fn.CloudZoom.defaults.zoomWidth = 600; $.fn.CloudZoom.defaults.zoomHeight = 370; $.fn.CloudZoom.defaults.showTitle = false; })(jQuery);