Sami Greenbury
Technology, Teaching & Travel

Magical Image Resizing URL’s with Zend_Framework (and cached for Apache)

…public function thumbAction() { $this->view->layout()->disableLayout(); $options = $this->_helper->container->get(‘options’); $fileName = $this->getRequest()->getParam(‘file’); $subdir = $this->getRequest()->getParam(‘subdir’); $width = $this->getRequest()->getParam(‘width’); $height = $this->getRequest()->getParam(‘height’); $cacheUrlPrefix = $options[‘cache’][‘publicDir’]; $cachePathPrefix = $options[‘cache’][‘dataDir’]; $dataPathPrefix = $options[‘data’][‘dataDir’]; $fileName…

Tags:
Category:

Portfolio

…on my LinkedIn: http://linkedin.com/in/patabugen Greasemonkey Scripts Frustrated by the lack of auto-saving drafts in Fastmail I wrote a simple scrip to Autosave Drafts in Fastmail.com Zend Framework 1 I’ve done…