diff --git a/ChangeLog b/ChangeLog index c486677ea..8e8df8a55 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,8 @@ Version 1.0.36 (unreleased) New features: +* Add slideshow for images + Improvements: * Replace Chosen jQuery plugin by custom UI component diff --git a/app/Template/project_overview/images.php b/app/Template/project_overview/images.php index 7f38e2b11..cdaba44af 100644 --- a/app/Template/project_overview/images.php +++ b/app/Template/project_overview/images.php @@ -2,7 +2,16 @@
- <?= $this->text->e($file['name']) ?> + app->component('image-slideshow', array( + 'images' => $images, + 'image' => $file, + 'regex' => 'FILE_ID', + 'url' => array( + 'image' => $this->url->to('FileViewerController', 'image', array('file_id' => 'FILE_ID', 'project_id' => $project['id'])), + 'thumbnail' => $this->url->to('FileViewerController', 'thumbnail', array('file_id' => 'FILE_ID', 'project_id' => $project['id'])), + ) + )) ?> +