Add "Crop image previews" setting to files
Added a new user setting that toggles cropping on image previews in grid view. True (default value): crops each image to a square. False: keep original aspect ratio. Signed-off-by:Nina Pypchenko <22447785+nina-py@users.noreply.github.com> Closes #18439. Signed-off-by:
npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
Showing
- apps/files/appinfo/routes.php 5 additions, 0 deletionsapps/files/appinfo/routes.php
- apps/files/js/app.js 31 additions, 1 deletionapps/files/js/app.js
- apps/files/js/filelist.js 12 additions, 1 deletionapps/files/js/filelist.js
- apps/files/lib/Controller/ApiController.php 14 additions, 0 deletionsapps/files/lib/Controller/ApiController.php
- apps/files/lib/Controller/ViewController.php 2 additions, 0 deletionsapps/files/lib/Controller/ViewController.php
- apps/files/templates/appnavigation.php 5 additions, 0 deletionsapps/files/templates/appnavigation.php
- apps/files/templates/index.php 1 addition, 0 deletionsapps/files/templates/index.php
- apps/files/tests/Controller/ApiControllerTest.php 13 additions, 0 deletionsapps/files/tests/Controller/ApiControllerTest.php
- apps/files/tests/Controller/ViewControllerTest.php 2 additions, 0 deletionsapps/files/tests/Controller/ViewControllerTest.php
Loading
Please register or sign in to comment