Videos thumbs in admin were huge.
authorLaury GvR <laury@gaslightmedia.com>
Thu, 4 Sep 2014 16:08:27 +0000 (12:08 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Thu, 4 Sep 2014 16:08:27 +0000 (12:08 -0400)
Fixed by turning a /0.jpg back into a /default.jpg

Toolkit/Videos/VideosDataGrid.php

index ecd8e30..f9c5c93 100644 (file)
@@ -212,7 +212,7 @@ class Toolkit_Videos_VideosDataGrid
             $vidCode = $match[1];
         }
         $thumb = ($vidCode)
-            ? '<a href="http://www.youtube.com/embed/'.$vidCode.'?rel=0" class="various fancybox.iframe vidimg"><img src="http://img.youtube.com/vi/'.$vidCode.'/0.jpg"></a>'
+            ? '<a href="http://www.youtube.com/embed/'.$vidCode.'?rel=0" class="various fancybox.iframe vidimg"><img src="http://img.youtube.com/vi/'.$vidCode.'/default.jpg"></a>'
             : '';
         return $thumb;
     }