From 2274a49d4dfe8e135dbd4e41fda15298542ddc29 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Sun, 2 Aug 2009 14:46:39 -0400 Subject: [PATCH] Another Vimeo related file that snuck into the move to git --- ansel/lib/ImageView/vimeothumb.php | 45 -------------------------------------- 1 file changed, 45 deletions(-) delete mode 100644 ansel/lib/ImageView/vimeothumb.php diff --git a/ansel/lib/ImageView/vimeothumb.php b/ansel/lib/ImageView/vimeothumb.php deleted file mode 100644 index ed1de2283..000000000 --- a/ansel/lib/ImageView/vimeothumb.php +++ /dev/null @@ -1,45 +0,0 @@ - - * @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(); - } - } - -} -- 2.11.0