Magento images not showing on front end

2020-05-27 04:10发布

I'm using Magento 1.4. I have two website set up. If I upload images to Website A, they appear fine on both front and back end. If I upload or import images to Website B, they do not appear on the front end, only the backend. I'm completely stuck. I'm happy to provide any additional details that may be helpful, but am so frustrated I'm not sure what is necessary info to fix the problem. Thanks!

标签: image magento
12条回答
疯言疯语
2楼-- · 2020-05-27 04:28

Ensure also that your owner/group is correctly set for media files. For my server, this is apache/apache and we set the permissions like so:

$ chown -R apache:apache media/catalog/

Hope that helps someone. FYI: You might want to run Elzo's answer first to restore proper permissions then do the above.

查看更多
兄弟一词,经得起流年.
3楼-- · 2020-05-27 04:29

go to : /public_html/media/catalog/product

rename all the capital letters to lower case. or the oposite.

查看更多
看我几分像从前
4楼-- · 2020-05-27 04:36

I recently had a 1950x1950px product photo that was visible in the admin panel but not on the front of the site. Reducing it to 1600x1600px and re-uploading it caused it to be visible in both locations.

查看更多
狗以群分
5楼-- · 2020-05-27 04:41

I had the same problem., After someone suggested delting the .htaccess file in /media (which is of course a bad idea) ich chekced all the parameters and found that both

Options All -Indexes

and

Options +FollowSymLinks

got me an error 500. commenting them out fixed the problem. I also replaced

Options +FollowSymLinks

with

 Options  +SymLinksIfOwnerMatch
 Options -MultiViews 
查看更多
做自己的国王
6楼-- · 2020-05-27 04:44

Just Rename your .htaccess file inside the /media directory to .htaccess-old. This will absolutely resolve your image issue. - See more at: http://www.viraljetani.com/programming/magento-images-not-appearing-on-frontend-as-well-as-backend-on-godaddy-server#sthash.Uxd9kXqI.dpuf

查看更多
Explosion°爆炸
7楼-- · 2020-05-27 04:44

Try editing the correct "Store View" for that product.

查看更多
登录 后发表回答