Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

商品图片已经上传了,但前台不显示? 
 
expeditioner
Jr. Member
 
Total Posts:  1
Joined:  2010-05-19
 

上传的商品图片路径是/media/catalog/product/f/i
名称分别是 file_4.jpg file_4_1.jpg file_4_2.jpg

前台页面使用如下代码显示商品列表,
{{block type="catalog/product_list" category_id="3" template="catalog/product/list.phtml"}}

除图片外都可以正常显示,图片显示的是magento的标志图片,而不是商品图片,并且图片路径是/skin/frontend/default/default/images/catalog/product/placeholder/small_image.jpg

 
Magento Community Magento Community
Magento Community
Magento Community
 
CosmoCommerce
Sr. Member
 
Avatar
Total Posts:  87
Joined:  2008-09-05
Shanghai
 

你没有配置small image为这个图片,注意那个上传图片的小圆点。

 
Magento Community Magento Community
Magento Community
Magento Community
 
boletus903309
Jr. Member
 
Total Posts:  1
Joined:  2010-06-11
 

我也遇到了楼主一样的问题。

我使用的是sample data 里面的图片,在本机实验都没问题,图片都能正常显示。
在服务器上传之后就出现这个问题,图片指向的链接不对。

不知道哪位高手能指点一下,谢谢!

 
Magento Community Magento Community
Magento Community
Magento Community
 
CosmoCommerce
Sr. Member
 
Avatar
Total Posts:  87
Joined:  2008-09-05
Shanghai
 

1 你可以试试看刷新图片缓存或者重建产品索引。
2 可以看看上传的文件权限。是否可写。
3 查看数据库文件路径是否没有更新,如果未更新可以删除重新创建或批量编辑更新。

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top