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 $input)
Not sure what this is for. |
|
| string |
getImageUrl($input $input)
Image url for a given category and image |
|
| string |
cropAndSaveFile($input $input)
Crop and save an image |
Details
at line 37
public
__construct(Filesystem $Filesystem, CategoryPaths $CategoryPaths, Images $Images, Repository $Config = null)
Construct a new image manager
at line 52
public array
extractImagesForCallback($input $input)
Not sure what this is for.
Looks like it extracts images from a category path...
at line 76
public string
getImageUrl($input $input)
Image url for a given category and image
at line 89
public string
cropAndSaveFile($input $input)
Crop and save an image