Class Mage_Catalog_Helper_Image
Catalog image helper
- Mage_Core_Helper_Abstract
- Mage_Catalog_Helper_Image
Direct known subclasses
Mage_XmlConnect_Helper_Catalog_Category_ImageCopyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/Catalog/Helper/Image.php
protected
|
|
public
|
#
init(
Initialize Helper to work with Image |
public
|
|
public
|
|
public
|
#
keepAspectRatio( boolean $flag )
Guarantee, that image picture width/height will not be distorted. Applicable before calling resize() It is true by default. |
public
|
|
public
|
#
keepTransparency( boolean $flag, integer $alphaOpacity = null )
Guarantee, that image will not lose transparency if any. Applicable before calling resize() It is true by default. |
public
|
#
constrainOnly( boolean $flag )
Guarantee, that image picture will not be bigger, than it was. Applicable before calling resize() It is false by default |
public
|
#
backgroundColor( array $colorRGB )
Set color to fill image frame with. Applicable before calling resize() The keepTransparency(true) overrides this (if image has transparent color) It is white by default. |
public
|
|
public
|
|
public
|
|
public
string
|
|
public
string
|
|
protected
|
|
protected
|
|
protected
|
|
protected
integer
|
|
protected
|
|
protected
string
|
|
protected
|
|
protected
string
|
|
public
|
|
protected
string
|
|
public
|
|
protected
integer
|
|
protected
|
|
protected
|
|
protected
|
|
protected
string
|
|
protected
array|boolean
|
|
public
integer|null
|
|
public
integer|null
|
|
public
array
|
|
public
boolean
|
protected
|
$_model |
|
#
Current model |
protected
boolean
|
$_scheduleResize | false |
#
Scheduled for resize image |
protected
boolean
|
$_scheduleRotate | false |
#
Scheduled for rotate image |
protected
integer
|
$_angle |
|
#
Angle |
protected
string
|
$_watermark |
|
#
Watermark file name |
protected
string
|
$_watermarkPosition |
|
#
Watermark Position |
protected
string
|
$_watermarkSize |
|
#
Watermark Size |
protected
integer
|
$_watermarkImageOpacity |
|
#
Watermark Image opacity |
protected
|
$_product |
|
#
Current Product |
protected
string
|
$_imageFile |
|
#
Image File |
protected
string
|
$_placeholder |
|
#
Image Placeholder |
$_layout,
$_moduleName,
$_request
|