nextcloud-gallery/README.md

131 lines
4.8 KiB
Markdown
Raw Permalink Normal View History

2020-01-20 12:19:40 +01:00
# 💀Gallery was replaced by :camera_flash: Photos
💀The gallery app has been replaced by the beautiful new app:
[:camera_flash: Nextcloud Photos - Your memories under your control](https://github.com/nextcloud/photos/)
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.
---
2015-05-13 11:38:02 +02:00
Media gallery for Nextcloud which includes previews for all media types supported by your installation.
2014-12-05 16:57:21 +01:00
2014-12-06 20:34:24 +01:00
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.
2018-01-25 09:38:09 +01:00
**This version is for Nextcloud 14.**
2016-09-04 19:08:52 +02:00
![Screenshot](https://raw.githubusercontent.com/nextcloud/gallery/master/build/screenshots/Gallery.jpg)
## Featuring
2016-07-22 13:25:00 +02:00
* Support for large selection of media types (depending on server setup)
2016-01-21 18:35:29 +01:00
* Upload and organise images and albums straight from the app
2015-08-16 14:12:42 +02:00
* Large, zoomable previews which can be shown in fullscreen mode
* Sort images by name or date added
2016-01-21 18:35:29 +01:00
* Per album design, description and copyright statement
* A la carte features (external shares, browser svg rendering, etc.)
2018-01-25 09:38:09 +01:00
* Image download and sharing straight from the slideshow or the gallery
2016-01-21 18:35:29 +01:00
* Switch to Gallery from any folder in files and vice-versa
* Ignore folders containing a ".nomedia" or ".noimage" file
2016-01-21 18:35:29 +01:00
* Browser rendering of SVG images (disabled by default)
2015-03-05 11:32:03 +01:00
* Mobile support
2015-01-05 04:28:44 +01:00
Checkout the [full changelog](CHANGELOG.md) for more.
2015-03-15 00:39:31 +01:00
## Maintainers
### Current
2015-08-16 14:12:42 +02:00
* [Olivier Paroz](https://github.com/oparoz)
2015-07-26 01:17:56 +02:00
* [Jan-Christoph Borchardt](https://github.com/jancborchardt) (Design)
2015-03-15 00:39:31 +01:00
### Alumni
2015-08-16 14:12:42 +02:00
* [Robin Appelman](https://github.com/icewind1991)
2015-07-29 01:48:30 +02:00
## Contributors
2016-09-04 19:08:52 +02:00
All the people who have provided patches to:
* [Gallery(+)](https://github.com/nextcloud/gallery/pulls?q=is%3Apr+is%3Aclosed)
* [Gallery(+) at ownCloud](https://github.com/owncloud/gallery/pulls?q=is%3Apr+is%3Aclosed)
* [Pictures at ownCloud](https://github.com/owncloud/gallery-old/pulls?q=is%3Apr+is%3Aclosed) over the years
2015-07-29 01:48:30 +02:00
2015-03-15 00:39:31 +01:00
## Requirements
2016-09-04 19:08:52 +02:00
See this [wiki article](https://github.com/nextcloud/gallery/wiki/Requirements) about the requirements for Gallery.
2015-01-04 17:54:04 +01:00
2015-03-15 00:39:31 +01:00
## Supporting the development
2015-05-11 18:12:24 +02:00
There are many ways in which you can help make Gallery a better product
2015-03-15 00:39:31 +01:00
* Report bugs (see below)
* Provide patches for [`nextcloud/server`](https://github.com/nextcloud/server) or the app itself
2015-03-15 00:39:31 +01:00
* Help test new features by checking out new branches on Github
2015-04-08 03:06:07 +02:00
* Design interface components for new features
* Develop new features. Please consult with the maintainers before starting your journey
2016-09-04 19:08:52 +02:00
* Fund a feature, either via [BountySource](https://www.bountysource.com/teams/nextcloud/issues?tracker_ids=9328526,41629711) or by directly hiring a community member who is capable of developing and maintaining it
2015-03-15 00:39:31 +01:00
2015-10-07 21:35:41 +02:00
## Bug reporting and contributing
2016-09-04 19:08:52 +02:00
Everything you need to know about bug reporting and contributing [is located here](https://github.com/nextcloud/gallery/blob/master/CONTRIBUTING.md).
2015-03-15 00:39:31 +01:00
## Preparation
Here is a list of steps you might want to take before using the app
2015-01-05 04:37:49 +01:00
### Supporting more media types
2016-01-21 18:35:29 +01:00
First, make sure you have installed ImageMagick and its imagick PECL extension.
2015-03-15 00:51:05 +01:00
Next add a few new entries to your **config/config.php** configuration file.
2015-01-05 04:28:44 +01:00
```
'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',
2015-08-16 14:12:42 +02:00
14 => 'OC\\Preview\\TIFF'
2015-01-05 04:28:44 +01:00
),
```
2015-03-15 00:51:05 +01:00
Look at the sample configuration (config.sample.php) in your config folder if you need more information about how the config file works.
2015-02-11 17:00:06 +01:00
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
2015-03-15 00:39:31 +01:00
2016-07-22 13:25:00 +02:00
#### Redis for files locking
Using Redis for files locking improves performance **by a factor of 10** when loading an album.
2018-01-25 09:38:09 +01:00
Read about it in the [Nextcloud](https://docs.nextcloud.org/server/13/admin_manual/configuration_files/files_locking_transactional.html) Administration Manual
2016-07-22 13:25:00 +02:00
## Installation
2015-10-07 21:35:41 +02:00
### Installing from the app store
* As an admin, select "Apps" in the menu
* Go to the "disabled apps" section
* Enable Gallery
2015-03-15 00:39:31 +01:00
### Installing from archive
2016-09-04 19:08:52 +02:00
* Go to the [the releases page](https://github.com/nextcloud/gallery/releases)
2016-07-22 13:25:00 +02:00
* Download the latest release/archive to your server's **apps/** directory
2015-03-15 00:39:31 +01:00
* Unpack the app
2015-07-26 01:17:56 +02:00
* **IMPORTANT**: Make sure the folder name is gallery
2015-03-15 00:39:31 +01:00
### Installing from Git
2016-07-22 13:25:00 +02:00
In your terminal go into the **apps/** directory and then run the following command:
```
2016-09-04 19:08:52 +02:00
$ git clone https://github.com/nextcloud/gallery.git
```
2015-05-11 18:12:24 +02:00
Now you can activate it in the apps menu. It's called Gallery
2015-01-05 04:28:44 +01:00
2016-07-22 13:25:00 +02:00
To update the app go inside you *apps/gallery/** directory and type:
2015-03-15 00:39:31 +01:00
```
2015-07-25 20:26:02 +02:00
$ git pull --rebase
2015-03-15 00:39:31 +01:00
```
2015-01-05 04:28:44 +01:00
## List of patches
2016-01-21 18:35:29 +01:00
None so far