For all who just want to publish their photofolders, the new photo app isn't an alternative to the easy-to-handle Gallery, which provides nice albums from folders.
Therefore I integrated some fixes to make it running with Nextcloud 19 - 20. Haven't changed any functionality or checked for security holes - use it on your own risk!
To install it directly on a Linux shell:
- Login per SSH on your Nexcloud server
- Change directory to Nexcloud addon dir, e. g.
cd /var/www/nextcloud/apps
- Checkout gallery:
git clone https://github.com/profhccaesar/gallery.git gallery
- Activate app using Nextcloud Web interface.
💀~~The gallery app has been replaced by the beautiful new app: 📸 Nextcloud Photos - Your memories under your control
Before reporting an issue or opening a pull request, please checkout the new app and see if your request still needs to be handled there. In case it is, open your PR against the photos app.
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" or ".noimage" file
- Browser rendering of SVG images (disabled by default)
- Mobile support
Checkout the full changelog for more.
- Olivier Paroz
- Jan-Christoph Borchardt (Design)
All the people who have provided patches to:
- Gallery(+)
- Gallery(+) at ownCloud
- Pictures at ownCloud over the years
See this wiki article about the requirements for Gallery.
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
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
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.
Using Redis for files locking improves performance by a factor of 10 when loading an album.
Read about it in the Nextcloud Administration Manual
- As an admin, select "Apps" in the menu
- Go to the "disabled apps" section
- Enable Gallery
- 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
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
None so far