Class BasicThumbnailer

Direct known subclasses

Concrete\Core\Legacy\ImageHelper

Methods summary

public Concrete\Core\File\Image\BasicThumbnailer
# setJpegCompression( integer $level )

Overrides the default or defined JPEG compression level per instance of the image helper. This allows for a single-use for a particularly low or high compression value. Passing a non-integer value will reset to the default system setting (DEFINE or 80)

protected
public
# create( $mixed, $newPath, $width, $height, $fit = false )

Deprecated. Use the Image facade instead.

public
# getThumbnail( mixed $obj, integer $maxWidth, integer $maxHeight, boolean $crop = false )

Returns a path to the specified item, resized and/or cropped to meet max width and height. $obj can either be a string (path) or a file object. Returns an object with the following properties: src, width, height

public
# outputThumbnail( $mixed, $maxWidth, $maxHeight, $alt = null, $return = false, $crop = false )

Deprecated

Properties summary

protected $jpegCompression
#