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条回答
The star\"
2楼-- · 2020-05-27 04:18

Recently I've had PNG images not show up on the front end (they show blank not placeholder) even though they show up fine in the back-end.

Re saving them as jpegs or saving them as PNG from a different editor fixed it.

查看更多
走好不送
3楼-- · 2020-05-27 04:19

Follow below instruction

  1. Go to 'Cache Storage Management' and click on 'Flush Magento Cache', 'Flush Cache Storage', 'Flush Catalog Images Cache' & 'Flush JavaScript/CSS Cache'
  2. Go to 'Index Management', click on 'Select All' and then select 'Reindex Data' from drop-down and submit.

Do this process 3-4 times, then have look at front-end with CTRL+F5. Now images will show-up. Make sure htaccess is in working mode.

查看更多
萌系小妹纸
4楼-- · 2020-05-27 04:24

Make sure your /media folder is writeable.

查看更多
霸刀☆藐视天下
5楼-- · 2020-05-27 04:24

Or maybe the original uploaded images are to big! Try to keep them under 300kb.

查看更多
唯我独甜
6楼-- · 2020-05-27 04:25

If you use big images, try to increase 'memory_limit' parameter in your 'php.ini' file.

查看更多
劳资没心,怎么记你
7楼-- · 2020-05-27 04:27

Try

  • deleting the cache
  • rebuilding indexes

Then:

find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 775 {} \;

SSH from the root of magento, if you working live

查看更多
登录 后发表回答