Function printCustomSizedImage
Print normal video or custom sized images. Note: a class of 'not_visible' or 'password_protected' will be added as appropriate
Notes on cropping:
The $crop* parameters determine the portion of the original image that will be incorporated into the final image. The w and h "sizes" are typically proportional. That is you can set them to values that reflect the ratio of width to height that you want for the final image. Typically you would set them to the fincal height and width.
string |
$alt |
Alt text for the url |
integer |
$size |
size |
integer |
$width = NULL |
width |
integer |
$height = NULL |
height |
integer |
$cropw = NULL |
crop width |
integer |
$croph = NULL |
crop height |
integer |
$cropx = NULL |
crop x axis |
integer |
$cropy = NULL |
crop y axis |
string |
$class = NULL |
Optional style class |
string |
$id = NULL |
Optional style id |
boolean |
$thumbStandin = false |
set to true to treat as thumbnail |
boolean |
$effects = NULL |
image effects (e.g. set gray to force grayscale) |
string |
$title = null |
Optional title attribute |
string |
$type = 'image' |
"image" (sizedimage) (default), "thumb" (thumbnail) required for using option settings for uncropped images |
obj |
$image = null |
optional image object, null means current image |
boolean |
$maxspace = false |
true for maxspace, false default |