Magento 中的产品图片未显示在前端
Product images in Magento not displayed in frontend
我已经在后台向我的一个 Magento 产品上传了一些图片,但这些图片没有在前台显示。
我正在分析 Mysql tables:
select * from catalog_product_entity where entity_id=10;
select * from catalog_product_entity_media_gallery where entity_id = 10;
select * from catalog_product_entity_media_gallery_value where value_id in (46,47,48);
而且我猜显示的图片在这里:
select thumbnail, small_image, small_image_label, thumbnail_label
from catalog_product_flat_1
where entity_id = 10;
but when selecting other image and saving changes in the backend, the values in this table don't change...
我的缓存被禁用,我在 /media 文件夹中的权限正常...无法理解为什么图像不显示...
确保图像不保存在商店级别。
切换到商店视图并查看图像是否保存在商店级别。通过选中 "Use Default Value" 复选框并保存产品来删除商店级别值。
我已经在后台向我的一个 Magento 产品上传了一些图片,但这些图片没有在前台显示。
我正在分析 Mysql tables:
select * from catalog_product_entity where entity_id=10;
select * from catalog_product_entity_media_gallery where entity_id = 10;
select * from catalog_product_entity_media_gallery_value where value_id in (46,47,48);
而且我猜显示的图片在这里:
select thumbnail, small_image, small_image_label, thumbnail_label
from catalog_product_flat_1
where entity_id = 10;
but when selecting other image and saving changes in the backend, the values in this table don't change...
我的缓存被禁用,我在 /media 文件夹中的权限正常...无法理解为什么图像不显示...
确保图像不保存在商店级别。 切换到商店视图并查看图像是否保存在商店级别。通过选中 "Use Default Value" 复选框并保存产品来删除商店级别值。