XOOPS
2.6.0
|
Go to the source code of this file.
Variables | |
if($imgWidth==0 &&$imgHeight==0) | $helper = $xoops->getModuleHelper('thumbs') |
$image = new Zebra_Image() | |
$imgHeight = Request::getInt('h', 0) | |
$imgPath = Request::getString('img', '') | |
$imgWidth = Request::getInt('w', 0) | |
$oldUmask = umask(022) | |
$thumbPath = $helper->buildThumbPath($imgPath, $imgWidth, $imgHeight) | |
$xoops = Xoops::getinstance() | |
if($image->resize($imgWidth, $imgHeight, ZEBRA_IMAGE_NOT_BOXED,-1)) | else |
$image | enlarge_smaller_images = false |
$image | preserve_aspect_ratio = true |
$image | preserve_time = true |
$image | source_path = $xoops->path($imgPath) |
$image | target_path = $xoops->path($thumbPath) |
if ($imgWidth==0 &&$imgHeight==0) $helper = $xoops->getModuleHelper('thumbs') |
Definition at line 36 of file thumbrender.php.
$image = new Zebra_Image() |
Definition at line 43 of file thumbrender.php.
$imgHeight = Request::getInt('h', 0) |
Definition at line 29 of file thumbrender.php.
$imgPath = Request::getString('img', '') |
Definition at line 27 of file thumbrender.php.
Referenced by Thumbs\buildThumbPath(), ThumbsProvider\getImgTag(), ThumbsProvider\getImgUrl(), and ThumbsProvider\getThumbnailUrl().
$imgWidth = Request::getInt('w', 0) |
Definition at line 28 of file thumbrender.php.
$oldUmask = umask(022) |
Definition at line 39 of file thumbrender.php.
Referenced by Xoops\Core\Assets\copyFileAssets().
$thumbPath = $helper->buildThumbPath($imgPath, $imgWidth, $imgHeight) |
Definition at line 37 of file thumbrender.php.
Referenced by Thumbs\buildThumbPath(), and ThumbsProvider\getThumbnailUrl().
$xoops = Xoops::getinstance() |
Definition at line 24 of file thumbrender.php.
if ($image->resize($imgWidth, $imgHeight, ZEBRA_IMAGE_NOT_BOXED,-1)) else |
Definition at line 55 of file thumbrender.php.
$image enlarge_smaller_images = false |
Definition at line 49 of file thumbrender.php.
$image preserve_aspect_ratio = true |
Definition at line 48 of file thumbrender.php.
$image preserve_time = true |
Definition at line 50 of file thumbrender.php.
$image source_path = $xoops->path($imgPath) |
Definition at line 45 of file thumbrender.php.
$image target_path = $xoops->path($thumbPath) |
Definition at line 46 of file thumbrender.php.