44 $image = ImageRecord::findByFilename($img);
61 if (
$gallery->image_link_mode ==
"Lightbox" &&
$image->related_resource)
63 $link =
"<a href='{$image->related_resource}'>";
67 <div
style=
"width:100%; height:100%; vertical-align: middle; background: url(/fakoli/images/loader.gif) center center no-repeat #fff">
68 <?echo
$link?><img src=
"/action/image/show?image_id=<?echo $image_id?>&size=600"
69 style=
"max-height:100%;max-width:100%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)"
70 alt=
"<?echo $image->ALT_tag?>"/><?echo $closeLink?>
FakoliException is the base exception class for all Fakoli errors.
static using()
Import the datamodels, views and manifest for the specified component(s).