Coder Social home page Coder Social logo

stjordanis / gallery-4 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from owncloud/gallery

0.0 1.0 0.0 8.89 MB

:sunrise: Gallery app for ownCloud, which includes previews for all supported media files

License: GNU Affero General Public License v3.0

PHP 41.63% CSS 3.63% JavaScript 53.70% Shell 0.41% Makefile 0.53% Hack 0.10%

gallery-4's Introduction

Gallery

Build Status

Media gallery for ownCloud 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 10.0. If you need the same app for older versions of ownCloud. 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 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 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 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

Uninstalling

Redirect gallery link shares

When disabling or uninstalling the app, all link shares created with the app will stop working. Instead of having to resend new links to all recipients, you can setup a redirection on the server to redirect gallery-style links to regular public links. This means that people with the original link will get redirected to the regular file view instead of getting a 404 page.

For this, edit your .htaccess file in the ownCloud root folder and add a new rewrite rule among the existing ones or with a new block at the bottom of the file:

<IfModule mod_rewrite.c>
  RewriteEngine on  
  RewriteRule ^/apps/gallery/s/(.*)$ /s/$1 [L,R=301]
</IfModule>

List of patches

None so far

gallery-4's People

Contributors

0xb0ba avatar alexandbear avatar deepdiver1975 avatar dependabot-preview[bot] avatar dependabot-support avatar dependabot[bot] avatar dpakach avatar eknoes avatar henni avatar iljan avatar imjalpreet avatar jammingben avatar jancborchardt avatar janklostermann avatar jnweiger avatar lukasreschke avatar manishbisht avatar morrisjobke avatar oparoz avatar ownclouders avatar patrickjahns avatar phil-davis avatar pmaier1 avatar rahulgoyal030 avatar rullzer avatar setnes avatar spacefish avatar tahaalibra avatar vicdeo avatar viraj96 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.