Image Video(
object
&$album, sting
$filename
)
|
|
Constructor for class-image
Parameters:
|
object |
&$album: |
the owning album |
|
sting |
$filename: |
the filename of the image |
string getCustomImage(
int
$size, int
$width, int
$height, int
$cropw, int
$croph, int
$cropx, int
$cropy, [bool
$thumbStandin = false], string
$alt, string
$class, string
$id
)
|
|
Get a custom sized version of this image based on the parameters.
Parameters:
|
string |
$alt: |
Alt text for the url |
|
int |
$size: |
size |
|
int |
$width: |
width |
|
int |
$height: |
height |
|
int |
$cropw: |
crop width |
|
int |
$croph: |
crop height |
|
int |
$cropx: |
crop x axis |
|
int |
$cropy: |
crop y axis |
|
string |
$class: |
Optional style class |
|
string |
$id: |
Optional style id |
|
bool |
$thumbStandin: |
set true to inhibit watermarking |
Redefinition of:
- Image::getCustomImage()
- Get a custom sized version of this image based on the parameters.
string getThumb(
[
$type = 'image']
)
|
|
Get a default-sized thumbnail of this image.
Parameters:
Redefinition of:
- Image::getThumb()
- Get a default-sized thumbnail of this image.
Update this object's values for width and height. Uses lazy evaluation.
Redefinition of:
- Image::updateDimensions()
- Update this object's values for width and height. Uses lazy evaluation.