Property | Type | Description | |
---|---|---|---|
$CategoryPaths | |||
$Filesystem | |||
$Images |
Method | Description | |
---|---|---|
__construct ( |
Construct a new image manager | |
cropAndSaveFile ( $input ) : string | Crop and save an image | |
extractImagesForCallback ( $input ) : array | Not sure what this is for. Looks like it extracts images from a category path. | |
getImageUrl ( $input ) : string | Image url for a given category and image |
Method | Description | |
---|---|---|
getNewCroppedName ( $currentName, $width, $height ) : string | This cropped name is generated for us |
public __construct ( |
||
$Filesystem | ||
$CategoryPaths | ||
$Images | ||
$Config | Illuminate\Config\Repository |
public cropAndSaveFile ( $input ) : string | ||
$input | ||
return | string |
public extractImagesForCallback ( $input ) : array | ||
$input | ||
return | array |
public getImageUrl ( $input ) : string | ||
$input | ||
return | string |
protected CategoryPaths,Devise\Media\Categories $CategoryPaths | ||
return |
protected Filesystem,Devise\Media\Files $Filesystem | ||
return |