|
static | sortPhotoArray ($photos, $type) |
|
static | checkPhotos ($photos, $type) |
|
static | ResizeImageGet ($file, $arSize, $resizeType=BX_RESIZE_IMAGE_PROPORTIONAL, $bInitSizes=false, $arFilters=false, $bImmediate=false, $jpgQuality=false) |
|
См. определение в файле photoresizer.php строка 17
◆ buildPictureUrl()
static buildPictureUrl |
( |
| $src, |
|
|
| $domain = '' ) |
|
staticprotected |
Return picture URL by picture src
- Аргументы
-
| $src | |
string | $domain | - old param. May be empty |
- Возвращает
- string
См. определение в файле photoresizer.php строка 32
◆ checkPhotos()
static checkPhotos |
( |
| $photos, |
|
|
| $type ) |
|
static |
Check photo sizes by type of converter
- Аргументы
-
$photos | - array of photo IDs, ore one photo ID |
$type | |
- Возвращает
- array - only photos with satisfy of requirements.
См. определение в файле photoresizer.php строка 125
◆ ResizeImageGet()
static ResizeImageGet |
( |
| $file, |
|
|
| $arSize, |
|
|
| $resizeType = BX_RESIZE_IMAGE_PROPORTIONAL, |
|
|
| $bInitSizes = false, |
|
|
| $arFilters = false, |
|
|
| $bImmediate = false, |
|
|
| $jpgQuality = false ) |
|
static |
Overwrite system ResizeImageGet. Need for increase images
- Аргументы
-
| $file | |
| $arSize | |
int | $resizeType | |
bool | $bInitSizes | |
bool | $arFilters | |
bool | $bImmediate | |
bool | $jpgQuality | |
- Возвращает
- bool|mixed
См. определение в файле photoresizer.php строка 359
◆ sortPhotoArray()
static sortPhotoArray |
( |
| $photos, |
|
|
| $type ) |
|
static |
◆ RESIZE_DOWN
◆ RESIZE_DOWN_CROP
const RESIZE_DOWN_CROP = 40 |
◆ RESIZE_NO
◆ RESIZE_UP
◆ RESIZE_UP_CROP
const RESIZE_UP_CROP = 20 |