44 $image = ImageRecord::findByFilename($img);
62 if (
$gallery->image_link_mode ==
"Lightbox" &&
$image->related_resource)
64 $link =
"<a href='{$image->related_resource}'>";
73 <div
style=
"width: <?echo $width?>px; height: <?echo $height?>px;background: url(/fakoli/images/loader.gif) center center no-repeat #fff">
74 <?echo
$link?><img src=
"/action/image/thumbnail?image_id=<?echo $image_id?>&size=600" style=
"width: <?echo $width?>px; height: <?echo $height?>px" alt=
"<?echo $image->ALT_tag?>"/><?echo $closeLink?>
static using()
Import the datamodels, views and manifest for the specified component(s).
static sendResource($uri, $component="")
Sends the resource at the specified URI to the client.
The ImageManager class provides basic Image manipulation functions that are useful when working with ...
if($gallery->image_link_mode=="Lightbox" && $image->related_resource) $width