Ejemplo n.º 1
0
 /**
  * Generate scaled versions of a specific source file, along all configured templates.
  *
  * @param String $id Id of the source file in need of scaling
  * @param Boolean $overwrite
  * @return Void
  */
 protected function _generateScaledImagesForId($id, $overwrite = false)
 {
     if (!$id) {
         return;
     }
     $imageModel = new Model_Image();
     $record = $imageModel->fetchById($id);
     return $this->_generateScaledImagesForFilename($record->filename);
 }