48 $title =
"Edit Details for {$image->title}";
53 $title =
"Add a New Image to {$gallery->gallery_name}";
67 $form->required(
"title");
68 $form->hide(
"thumbnail",
"gallery_id",
"owner_id");
75 $form->add(
new StringFieldRenderer(
$form),
"owner");
76 $form->data->set(
"owner",
$image->Owner()->format(
"{first_name} {last_name}"));
77 $form->readOnly(
"owner");
80 $redirect =
"images?gallery_id={$image->gallery_id}";
98 <h3>Image Details</h3>
103 <a href=
"/action/image/show?image_id=<?echo $image_id?>" target=
"_blank"><img src=
"<?echo $image->getThumbnail(350) ?> " alt=
"Small version of image"/></a><br/>
static usingFeature()
Uses the specified framework feature(s).
static using()
Import the datamodels, views and manifest for the specified component(s).
The ImageManager class provides basic Image manipulation functions that are useful when working with ...
static imageGalleryTabs($key)
$method
Pull out a simple reference to the request method.