/**
  * @usage can be used in a template like this $Image.LargeImage.Link
  * @return GD
  **/
 function generateLargeImage(GD $gd)
 {
     $gd->setQuality(90);
     return $gd->resizeByWidth($this->LargeWidth());
 }
Exemple #2
0
 /**
  * Resize this Image by width, keeping aspect ratio. Use in templates with $SetWidth.
  * @return GD
  */
 public function generateSetWidth(GD $gd, $width)
 {
     return $gd->resizeByWidth($width);
 }
 public function generateMediumSizeImage(GD $gd)
 {
     return $gd->resizeByWidth($this->MediumWidth);
 }