DEPRECATED Gallery app was replaced by Photos
Перейти к файлу
oparoz ecf2b4c695 Update readme to include Nextcloud 2016-09-04 18:44:15 +02:00
.github Update PR template 2016-03-20 09:26:42 +01:00
appinfo Increase the version in master 2016-07-22 12:04:10 +02:00
build Add debugging capabilities to Travis 2016-03-18 09:44:11 +01:00
config Happy New Year 2016 2016-06-18 18:33:27 +02:00
controller Happy New Year 2016 2016-06-18 18:33:27 +02:00
css Add missing CSS for bin icon 2016-07-20 20:58:49 +02:00
documentation Some unit tests for the Environment class 2015-08-23 04:11:28 +02:00
environment Happy New Year 2016 2016-06-18 18:33:27 +02:00
http Happy New Year 2016 2016-06-18 18:33:27 +02:00
img add viewBox to app icon for proper scaling in firefox 2016-08-17 18:22:05 +02:00
js Merge pull request #676 from owncloud/delete-button-in-slideshow 2016-07-20 20:47:47 +02:00
l10n [tx-robot] updated from transifex 2016-09-04 00:52:43 +00:00
middleware Fix for string id 2016-07-07 08:40:28 +02:00
preview Happy New Year 2016 2016-06-18 18:33:27 +02:00
service Happy New Year 2016 2016-06-18 18:33:27 +02:00
templates fix share link button label 2016-08-20 16:32:37 +02:00
tests Fix for string id 2016-07-07 08:40:28 +02:00
utility Happy New Year 2016 2016-06-18 18:33:27 +02:00
vendor Update test setup to use Share 2.0 #663 2016-06-11 02:09:42 +02:00
.gitmodules
.scrutinizer.yml Max version is PHP 7 2015-08-21 01:11:32 +02:00
.travis.yml Change test order to workaround storage caching bug in core 2016-06-13 05:09:23 +02:00
AUTHORS.md
CHANGELOG.md Update readme to include Nextcloud 2016-09-04 18:44:15 +02:00
COPYING
README.md Update readme to include Nextcloud 2016-09-04 18:44:15 +02:00
codeception.yml Unit tests for ConfigParser 2015-09-07 22:06:17 +02:00
composer.json Update test setup to use Share 2.0 #663 2016-06-11 02:09:42 +02:00
composer.lock Update test setup to use Share 2.0 #663 2016-06-11 02:09:42 +02:00
phpdoc.xml Unit tests for ConfigParser 2015-09-07 22:06:17 +02:00

README.md

Gallery

Build Status Scrutinizer Code Quality Code Coverage PHP 7 ready

Media gallery for ownCloud and 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 ownCloud 9.2 and Nextcloud 11. If you need the same app for older versions of ownCloud and Nextcloud. Use Gallery+ from their respective app stores.

Screenshot

Featuring

  • 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 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.

Maintainers

Current

Alumni

Contributors

Requirements

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 owncloud/core, 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 maintainer or anybody else 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.

Preparation

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.

  'preview_max_scale_factor' => 1,
  '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 ownCloud or Nextcloud Administration Manual

Assets pipelining

Make sure to enable "asset pipelining", so that all the Javascript and CSS resources can be mixed together. This can greatly reduce the loading time of the app.

Read about it in the ownCloud or Nextcloud Administration Manual

Installation

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/owncloud/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