diff --git a/CHANGELOG b/CHANGELOG index 61238a9bd..33c902e55 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -73,6 +73,7 @@ Core: Mediafiles: - Fixed reloading of PDF on page change [#3274]. - Custom CKEditor plugin for browsing mediafiles [#3337]. +- Project images always in fullscreen [#3355]. General: - Several bugfixes and minor improvements. diff --git a/openslides/mediafiles/static/js/mediafiles/list.js b/openslides/mediafiles/static/js/mediafiles/list.js index c74af76c3..c9c7f1282 100644 --- a/openslides/mediafiles/static/js/mediafiles/list.js +++ b/openslides/mediafiles/static/js/mediafiles/list.js @@ -158,7 +158,7 @@ angular.module('OpenSlidesApp.mediafiles.list', [ rotate: 0, visible: true, playing: false, - fullscreen: mediafile.is_pdf + fullscreen: mediafile.is_pdf || mediafile.is_image }]; $http.post(postUrl, data); } diff --git a/openslides/mediafiles/static/templates/mediafiles/mediafile-list.html b/openslides/mediafiles/static/templates/mediafiles/mediafile-list.html index b8c2927fb..5669d8a6d 100644 --- a/openslides/mediafiles/static/templates/mediafiles/mediafile-list.html +++ b/openslides/mediafiles/static/templates/mediafiles/mediafile-list.html @@ -60,7 +60,7 @@