🌅 Gallery app for Nextcloud, which includes previews for all supported media files
Clone or download
Failed to load latest commit information.
.github Formating Jul 24, 2018
.tx Fix tx config Feb 12, 2018
appinfo Update version on master Sep 5, 2018
build Use Codecov exclusively for coverage Mar 12, 2017
css Remove sharing height limit, since it is overwriting the server defaults Oct 30, 2018
documentation Use Codecov exclusively for coverage Mar 12, 2017
img Update templates with new .icon-white and .icon-shadow classes; move … Nov 28, 2017
js Move to compiled handlebars Oct 30, 2018
l10n [tx-robot] updated from transifex Nov 16, 2018
lib [14.0] Add HEIC/HEIF support to the gallery. Requires Aug 27, 2018
templates Rename "#app" to "#app-content" Aug 10, 2018
tests Fix PageControllerTest Apr 5, 2018
vendor Update Composer Mar 11, 2017
.drone.yml Add auth token to GitHub requests Apr 12, 2018
.gitmodules This is the Nextcloud Gallery app Nov 23, 2016
.scrutinizer.yml Minor config changes Apr 23, 2017
.travis.yml Fix "connectToThumbnails" API test when run in Travis CI Jan 24, 2018
AUTHORS.md Change Icewind's email address Sep 4, 2016
CHANGELOG.md Update readme to include Nextcloud Sep 4, 2016
CONTRIBUTING.md Add contributing guidelines Sep 4, 2016
COPYING Newlines Jan 27, 2015
Makefile Move to compiled handlebars Oct 30, 2018
README.md NC14 Jan 25, 2018
codeception.yml Migrate PHP to PSR-4 Apr 23, 2017
composer.json Require PHPUnit 6.5 Jan 27, 2018
composer.lock Update composer.lock for PHPUnit 6.5 and Codeception 2.3.8 Jan 28, 2018
phpdoc.xml Unit tests for ConfigParser Sep 7, 2015



Build Status Scrutinizer Code Quality Code Coverage PHP 7 ready

Media gallery for Nextcloud which includes previews for all media types supported by your installation.

Provides a dedicated view of all images in a grid, adds image viewing capabilities to the files app and adds a gallery view to public links.

This version is for Nextcloud 14.



  • Support for large selection of media types (depending on server setup)
  • Upload and organise images and albums straight from the app
  • Large, zoomable previews which can be shown in fullscreen mode
  • Sort images by name or date added
  • Per album design, description and copyright statement
  • A la carte features (external shares, browser svg rendering, etc.)
  • Image download and sharing straight from the slideshow or the gallery
  • Switch to Gallery from any folder in files and vice-versa
  • Ignore folders containing a ".nomedia" file
  • Browser rendering of SVG images (disabled by default)
  • Mobile support

Checkout the full changelog for more.





All the people who have provided patches to:


See this wiki article about the requirements for Gallery.

Supporting the development

There are many ways in which you can help make Gallery a better product

  • Report bugs (see below)
  • Provide patches for nextcloud/server or the app itself
  • Help test new features by checking out new branches on Github
  • Design interface components for new features
  • Develop new features. Please consult with the maintainers before starting your journey
  • Fund a feature, either via BountySource or by directly hiring a community member who is capable of developing and maintaining it

Bug reporting and contributing

Everything you need to know about bug reporting and contributing is located here.


Here is a list of steps you might want to take before using the app

Supporting more media types

First, make sure you have installed ImageMagick and its imagick PECL extension. Next add a few new entries to your config/config.php configuration file.

  'enabledPreviewProviders' =>
  array (
    0 => 'OC\\Preview\\PNG',
    1 => 'OC\\Preview\\JPEG',
    2 => 'OC\\Preview\\GIF',
    11 => 'OC\\Preview\\Illustrator',
    12 => 'OC\\Preview\\Postscript',
    13 => 'OC\\Preview\\Photoshop',
    14 => 'OC\\Preview\\TIFF'

Look at the sample configuration (config.sample.php) in your config folder if you need more information about how the config file works. That's it. You should be able to see more media types in your slideshows and galleries as soon as you've installed the app.

Improving performance

Redis for files locking

Using Redis for files locking improves performance by a factor of 10 when loading an album.

Read about it in the Nextcloud Administration Manual


Installing from the app store

  • As an admin, select "Apps" in the menu
  • Go to the "disabled apps" section
  • Enable Gallery

Installing from archive

  • Go to the the releases page
  • Download the latest release/archive to your server's apps/ directory
  • Unpack the app
  • IMPORTANT: Make sure the folder name is gallery

Installing from Git

In your terminal go into the apps/ directory and then run the following command:

$ git clone https://github.com/nextcloud/gallery.git

Now you can activate it in the apps menu. It's called Gallery

To update the app go inside you apps/gallery/* directory and type:

$ git pull --rebase

List of patches

None so far