SilverShop\Extension\ProductImageExtension::getImageAt
Resizes image by width or height only if the source image is bigger than the given width/height.
This prevents ugly upscaling.
Signature
public function getImageAt([int
$width = NULL,
[int
$height = NULL,
[boolean
$upscale = false]]] )
Parameters
$width
— int- [optional]
$height
— int- [optional]
$upscale
— boolean- [optional]
Returns
- Image