Метод | Описание | |
---|---|---|
cropImageAction ( |
Crop image using jCrop and upload config parameters and create thumbs if needed | |
getLibraryImagesAction ( |
Returns files from required directory | |
uploadImageAction ( |
Save uploaded image according to comur_image field configuration |
Метод | Описание | |
---|---|---|
getMaxCropValues ( $srcW, $srcH, $maxW, $maxH ) | Calculates and returns maximum size to fit in maxW and maxH for crop | |
getMaxResizeValues ( $srcW, $srcH, $maxW, $maxH ) | Calculates and returns maximum size to fit in maxW and maxH for resize | |
getMinResizeValues ( $srcW, $srcH, $minW, $minH ) | Calculates and returns min size to fit in minW and minH for resize | |
resizeCropImage ( $destSrc, $imgSrc, $destX, $destY, $srcX, $srcY, $destW, $destH, $srcW, $srcH ) | Crops or resizes image and writes it on disk |
public cropImageAction ( |
||
$request |
public getLibraryImagesAction ( |
||
$request |
public uploadImageAction ( |
||
$request |