Merge with 65f17722d5c817be507681c18018cd657d0b2a16
authorymh <ymh.work@gmail.com>
Wed, 28 Apr 2010 19:56:46 +0200
changeset 101 84d54120ed7e
parent 100 074326680b09 (diff)
parent 96 65f17722d5c8 (current diff)
child 102 8ceec54970b1
Merge with 65f17722d5c817be507681c18018cd657d0b2a16
--- a/web/thdProject/apps/frontend/config/app.yml.tmpl	Wed Apr 28 19:49:05 2010 +0200
+++ b/web/thdProject/apps/frontend/config/app.yml.tmpl	Wed Apr 28 19:56:46 2010 +0200
@@ -1,19 +1,6 @@
 # default values
 all:
-   storage:
-      #segmentation files
-      uploads: "/Users/gautierthibault/Sites/thd/web/uploads/"
-      format: ".csv"
     
-   video:
-     root_uri: "http://thdmercurial/videos"
-     
-   image:
-     root_uri: "/Users/gautierthibault/Sites/mosatags/web/thdProject/web/images"
-     
-   poster:
-     root_uri: "http://thdmercurial/posters"
-
    film_image:
      root_uri: "http://thd.universcine.com/media/images"
    
--- a/web/thdProject/plugins/UcImageScalerPlugin/lib/UcImageCacheManager.class.php	Wed Apr 28 19:49:05 2010 +0200
+++ b/web/thdProject/plugins/UcImageScalerPlugin/lib/UcImageCacheManager.class.php	Wed Apr 28 19:56:46 2010 +0200
@@ -44,7 +44,8 @@
 
     //not already cached
     if(!$this->cache->has($imageKey)) {
-      $thumbnail = new sfThumbnail($mw, $mh, $keepRatio, true, 80, 'sfImageMagickAdapter');
+      //$thumbnail = new sfThumbnail($mw, $mh, $keepRatio, true, 80, 'sfImageMagickAdapter');
+	  $thumbnail = new sfThumbnail($mw, $mh, $keepRatio, true, 80, 'sfGDAdapter');
 
       try {
         $thumbnail->loadFile($imageUrl);