--- mythvideo/mythvideo/videogallery.cpp	2008-10-04 23:06:10.000000000 -0600
+++ mythvideo/mythvideo/videogallery.cpp.new	2008-10-04 23:08:10.000000000 -0600
@@ -408,9 +408,26 @@ void VideoGallery::drawIcon(QPainter *p,
 
         // load video icon
         meta = m_video_list->getVideoListMetadata(curTreePos->getInt());
+        
+        if (meta) {
+            QString filename = meta->Filename();
+        
+            QStringList test_files;
+	    test_files.append(filename + ".png");
+	    test_files.append(filename + ".jpg");
+	    test_files.append(filename + ".gif");
+	    for (QStringList::const_iterator tfp = test_files.begin();
+	        tfp != test_files.end(); ++tfp)
+	        {
+	            if (QFile::exists(*tfp))
+	            {
+	                icon_file = *tfp;
+                        break;
+                    }
+                    icon_file = meta->CoverFile();
+	        }
+        }
 
-        if (meta)
-            icon_file = meta->CoverFile();
     }
 
     int bw  = backRegPix.width();

