),
),
),
-...
\ No newline at end of file
+...
+
+Model:
+
+/**
+ * images to use in the gallery
+ *
+ * @var \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\TYPO3\CMS\Extbase\Domain\Model\FileReference>
+ * @lazy
+ */
+protected $images;
+
+/**
+ * __construct
+ *
+ * @return AbstractObject
+ */
+public function __construct() {
+ $this->images = new \TYPO3\CMS\Extbase\Persistence\ObjectStorage();
+}
+
+/**
+ * sets the Images
+ *
+ * @param \TYPO3\CMS\Extbase\Persistence\ObjectStorage $images
+ *
+ * @return void
+ */
+public function setImages($images) {
+ $this->images = $images;
+}
+
+/**
+ * get the Images
+ *
+ * @return \TYPO3\CMS\Extbase\Persistence\ObjectStorage
+ */
+public function getImages() {
+ if ($this->images instanceof LazyLoadingProxy) {
+ $this->images->_loadRealInstance();
+ }
+ $images = array();
+ /** @var \TYPO3\CMS\Extbase\Domain\Model\FileReference $fileReference */
+ foreach ($this->images as $fileReference) {
+ $images[] = $fileReference->getOriginalResource();
+ }
+ return $images;
+}
+
+Fluid View (this is a Partial, providing all images with a link to open it in a lightbox, classic clickenlarge):
+
+<f:for each="{images}" as="image" >
+ <a href="{f:uri.image(src:image.uid,treatIdAsReference:1)}" class="lightbox" rel="gallery">
+ <f:image src="{image.uid}" alt="" width='101' height="67" treatIdAsReference="1"/>
+ </a >
+</f:for >
\ No newline at end of file