【问题标题】:Single Product Image not showing单个产品图片未显示
【发布时间】:2013-07-18 11:06:34
【问题描述】:

我在我的 Zen Cart 商店中添加了多种产品。问题是当我单击特定产品时,图像不会显示。它仍然是空白的。

http://www.fmchase.com/

上面是网站的网址。当我们转到单个产品时,该产品的 i 图像不会显示,但会显示在类别中。

【问题讨论】:

    标签: zen-cart


    【解决方案1】:

    它要查找的图像不存在。

    例如http://www.fmchase.com/images/large/Aquafresh%20little%20Teeth%20toothbrush_LRG.jpg

    返回 404(未找到)错误。

    编辑:类别页面正在使用不同的图像http://www.fmchase.com/images/Aquafresh%20little%20Teeth%20toothbrush.jpg

    【讨论】:

    • 是的,我看到了。如何将损坏的图像更改为真实或正确的图像路径。
    【解决方案2】:

    问题出在您的新模板中。转到includes/templates/your_template/templates/tpl_modules_main_product_image.php 并将与$products_image_medium 匹配的所有变量更改为$products_image

    这应该可以解决您的问题。

    【讨论】:

      【解决方案3】:

      我删除了 来自 .htaccess 的 Content-Security-Policy 模块 我得到了我的列表图像

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2020-04-14
        • 1970-01-01
        相关资源
        最近更新 更多