New Community Forums are coming. Watch this space for news.
Subscribe: RSS
  • Hi,

    I have a recurring problem with missing image thumbnails in the file browser. I can see from the forums that other people report similar problems, but my circumstances don’t seem to fit with other solutions. Here is what happens.

    I develop a new website on domain www.test-server.com/client - everything works perfectly, I can upload images and see their thumbnails. All good.

    The problem presents itself when I move the site onto its live domain, eg www.client.com

    So I copy down all the files via FTP and the database, and upload them to the new domain. Everything works perfectly apart from the thumbnails which are all broken. I can see the thumbnails via FTP (in assets/images/dir) but they simply won’t show in the file browser.

    Both domains are on the same server, so this is not a PHP component issue. I also take care to adjust the path to the file browser when it goes live.

    Also, uploading NEW images to the new site is no problem, the thumbnails show. It’s the ones that I migrated that are not showing.

    My best guess is that this is some kind of file ownership issue, and the migrated thumbnails somehow have the wrong ownership as a result of being FTPd rather than uploaded via the site itself.

    I hope this is clear ...

    Has anyone experienced this and have a fix?

    Many thanks!

    James.
    • Hi,
      Sorry if this sounds obvious, but when you moved the site, did you update the file paths in the configuration? This would be the File Manager Path and the File Base Path.
        MODx and Wordpress development
        Linux, PHP 5.2, MySQL 5.0, Evo 1.05, Revo 2.08-pl, Firefox 4
      • Hi Samba

        Yes, they are all updated to the new path. As new uploads work fine, I don’t think it is a path issue.
        • Does sound like a permission problem. Are the permissions for the old file different than those for new ones? Your FTP client should be able to show you the file permissions.
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org
          • Hi

            Comparing the FTP views of both the old and new, the permissions look exactly the same.
            • Found a solution ... if I delete all the .thumbnail files via FTP, ModX regenerates them when I go to the file manager, and the new ones are visible!
              • Hi,
                where are the .thumbnail files located? Thanks - Ive the same issue