Ejemplo n.º 1
0
 /**
  * To generate thumbnail from original image
  * @param string $sourceFileName
  * @param string $sourceFilePath
  * @param string $destinationPath
  */
 public static function resizeImage($sourceFileName, $sourceFilePath, $destinationPath)
 {
     $fileHelper = new FileHelper();
     $fileHelper->sourceFilename = $sourceFileName;
     $fileHelper->sourceFilepath = $sourceFilePath;
     $fileHelper->destinationPath = $destinationPath;
     $fileHelper->resizeImage('ticker');
 }