public static
getCategoriesImageBackground
(mixed $imgCatSize, mixed $smallImgHeigth, mixed $smallImgWidth, mixed $mediumImgHeight, mixed $mediumImgWidth)
/* OBSOLETE
* IMAGE BACKGROUND - CATEGORIES VIEW - INTERNAL IMAGE
* 0-small,1-medium,2-smallFolder,3-mediumFolder,4-smallShadow,5-mediumShadow,6-smallFolderShadow,7-mediumFolderShadow
*/
public static function getCategoriesImageBackground($imgCatSize, $smallImgHeigth, $smallImgWidth, $mediumImgHeight, $mediumImgWidth)
{
/*
phocagalleryimport('phocagallery.image.image');
phocagalleryimport('phocagallery.path.path');
$path = PhocaGalleryPath::getPath();
$imgBg = new CMSObject();
switch ($imgCatSize) {
case 4:
case 6:
$imgBg->image = 'background: url(\''
.$path->image_rel_front_full . 'shadow3.png'.'\') 50% 50% no-repeat;height:'
.$smallImgHeigth.'px;width:'.$smallImgWidth.'px;';
$imgBg->width = $smallImgWidth + 20;//Categories Detailed View
break;
case 5:
case 7:
$imgBg->image = 'background: url(\''
.$path->image_rel_front_full . 'shadow1.png'.'\') 50% 50% no-repeat;height:'
.$mediumImgHeight.'px;width:'.$mediumImgWidth.'px;';
$imgBg->width = $mediumImgWidth + 20;//Categories Detailed View
break;
case 1:
case 3:
$imgBg->image = 'width:'.$mediumImgWidth.'px;';
$imgBg->width = $mediumImgWidth +20;//Categories Detailed View
break;
case 0:
case 2:
Default:
$imgBg->image = 'width:'.$smallImgWidth.'px;';
$imgBg->width = $smallImgWidth + 20;//Categories Detailed View
break;
}
return $imgBg;*/
}