diff --git mythplugins/mythgallery/mythgallery/thumbgenerator.cpp mythplugins/mythgallery/mythgallery/thumbgenerator.cpp
index 57a76e2..cb77d24 100644
--- mythplugins/mythgallery/mythgallery/thumbgenerator.cpp
+++ mythplugins/mythgallery/mythgallery/thumbgenerator.cpp
@@ -243,6 +243,7 @@ void ThumbGenerator::loadDir(QImage& image, const QFileInfo& fi)
     {
         f = &(*it);
         QImageReader testread(f->absoluteFilePath());
+        testread.setAutoDetectImageFormat(false);
         if (testread.canRead())
         {
             found = true;
