Moving Magento site, missing images in catalog

Moving Magento site, missing images in catalog

Recently I have came across one funny issue. Interesting how issue can be funny. One of our clients had a request for Magento upgrade, from version 1.2 to Most of you in in Magento development will likely to agree when I say that Magento upgrades can be a night mare. Luckily for me, this one went rather smoothly with one strange result, half of my product images were not visible on frontend/admin.

After few minutes of debugging I realized what caused the issue. Before I did an upgrade of the site, I pulled entire site locally on my dev machine and set it up so that it runs fully local. Meaning I wanted to upgrade site “offline” on my local machine where its faster and I am not limited to hosting server environment. In the process of “downloading” entire live site to my local machine I forgot the fact that I am using Windows. Windows operating system does not support having two directories, one next to another with the same name like “F” and “f”. It is not case sensitive. Due to this, all my images went to one (first in line) folder.

Once I successfully updated the site and uploaded it to live (Linux powered) server, I ended up with missing photos for about half of my products. Reason being the simple change in folder name from capital to small letter or vice versa.

If you ever do upgrade like I, and come across missing images scenario, try to remember this one.

Cheers 🙂

You made it all the way down here so you must have enjoyed this post! You may also like:

How To Connect Google Analytics 4 To Magento 2 Bojan Mareljic
Bojan Mareljic, | 35

How To Connect Google Analytics 4 To Magento 2

Show product thumbnail in grids Petar Sambolek
Petar Sambolek, | 14

Show product thumbnail in grids

Latest News with automatic thumbnails in Magento Hrvoje Jurisic
Hrvoje Jurisic, | 7

Latest News with automatic thumbnails in Magento

1 comment

  1. Dear Branko Ajzele,

    Thanks for above information.

    Currently I am facing same issue when I have moved Magento 1.x site from windows to Linux.
    Now Images are not displaying. Could you please suggest what can I do?

    Thanks in advance.


Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <blockquote cite=""> <code> <del datetime=""> <em> <s> <strike> <strong>. You may use following syntax for source code: <pre><code>$current = "Inchoo";</code></pre>.

Tell us about your project

Drop us a line. We'd love to know more about your project.