2

I transferred Magento shopping cart one server to another server after that my site product images are not showing on the new site.

All images /media/catalog/product/A/S/As-1_3.JPG in ftp

but img src call it as /media/catalog/product/a/s/as-1_3.jpg

I am wondering how to solve this issue?

kab8609
3,3631 gold badge25 silver badges39 bronze badges
asked Nov 22, 2014 at 10:27

1 Answer 1

2

Sounds like you've moved from a Windows server to a Linux server.

Most Windows file systems are not sensitive to file case, conversely most Linux file systems are.

The simplest solution is to lower case all your image files on disk.

Eg.

find media/catalog/product -depth -exec rename 's/(.*)\/([^\/]*)/1ドル\/\L2ドル/' {} \;

PS. Be sure to take a backup first.

answered Nov 23, 2014 at 18:43

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.