Manager
class Manager
Class Manager takes care of image management. This lets us get a list of images and also crop and resize images
Methods
__construct(Filesystem $Filesystem, CategoryPaths $CategoryPaths, Images $Images, Repository $Config = null)
Construct a new image manager
array
extractImagesForCallback($input)
Not sure what this is for. Looks like it extracts images from a category path.
string
getImageUrl($input)
Image url for a given category and image
string
cropAndSaveFile($input)
Crop and save an image
Details
at line 37
__construct(Filesystem $Filesystem, CategoryPaths $CategoryPaths, Images $Images, Repository $Config = null)
Construct a new image manager
at line 52
array
extractImagesForCallback($input)
Not sure what this is for. Looks like it extracts images from a category path.
..
at line 76
string
getImageUrl($input)
Image url for a given category and image
at line 89
string
cropAndSaveFile($input)
Crop and save an image