Another Vimeo related file that snuck into the move to git
authorMichael J. Rubinsky <mrubinsk@horde.org>
Sun, 2 Aug 2009 18:46:39 +0000 (14:46 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Sun, 2 Aug 2009 18:46:39 +0000 (14:46 -0400)
ansel/lib/ImageView/vimeothumb.php [deleted file]

diff --git a/ansel/lib/ImageView/vimeothumb.php b/ansel/lib/ImageView/vimeothumb.php
deleted file mode 100644 (file)
index ed1de22..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<?php
-/**
- * ImageView to create the shadowsharpthumb view (sharp corners, shadowed)
- *
- * @author Michael J. Rubinsky <mrubinsk@horde.org>
- * @package Ansel
- */
-class Ansel_ImageView_vimeothumb extends Ansel_ImageView {
-
-    var $need = array('drop_shadow');
-
-    function _create()
-    {
-        $this->_image->_image->resize(min($GLOBALS['conf']['thumbnail']['width'], $this->_dimensions['width']),
-                                      min($GLOBALS['conf']['thumbnail']['height'], $this->_dimensions['height']),
-                                      true);
-
-        /* Don't bother with these effects for a stack image
-         * (which will have a negative gallery_id). */
-        if ($this->_image->gallery > 0) {
-            if (is_null($this->_style)) {
-                $gal = $GLOBALS['ansel_storage']->getGallery($this->_image->gallery);
-                $styleDef = $gal->getStyle();
-            } else {
-                $styleDef = Ansel::getStyleDefinition($this->_style);
-            }
-
-            $res = $this->_image->_image->addEffect(
-                'border', array('bordercolor' => '#333'));
-
-//            $res = $this->_image->_image->addEffect('drop_shadow',
-//                                                    array('background' => $styleDef['background'],
-//                                                          'padding' => 5,
-//                                                          'distance' => '8',
-//                                                          'fade' => 2));
-
-            if (is_a($res, 'PEAR_Error')) {
-                Horde::logMessage($res, __FILE__, __LINE__, PEAR_LOG_ERR);
-            }
-
-            return $this->_image->_image->applyEffects();
-        }
-    }
-
-}