1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
|
# Gallery Plus [BETA] [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/interfasys/galleryplus/badges/quality-score.png?b=stable7)](https://scrutinizer-ci.com/g/interfasys/galleryplus/?branch=stable7) [![Code Climate](https://codeclimate.com/github/interfasys/galleryplus/badges/gpa.svg)](https://codeclimate.com/github/interfasys/galleryplus)
Media gallery for ownCloud which includes preview for all media types supported by your ownCloud 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.
**Note**: You need to have shell access to your ownCloud installation in order to be able to fully benefit from this version for ownCloud 7.
![Screenshot](http://i.imgur.com/fxIai8t.jpg)
## Featuring
* Support for large selection of media type (depending on ownCloud setup)
* Large, zoomable previews
* Native SVG support
* Image download straight from the slideshow or the gallery
Checkout the [full changelog](CHANGELOG.md) for more.
### Browser compatibility
* Desktop: Firefox, Chrome, IE 10+, Opera, Safari
* Mobile: Safari, Chrome, BlackBerry 10, Firefox, Opera
### Server requirements
* **PHP 5.4+**
* Recommended: a recent version ImageMagick
## Preparation
You'll need to patch your ownCloud installation before you'll be able to use this app.
You'll find all you need in the patches folder
### Session fix (mandatory)
The AppFramework has a problem with sessions, but it can be fixed via this patch.
```
$ patch -p1 < apps/galleryplus/patches/session-template-fix.patch
```
### Supporting more media types
First, make sure you have installed ImageMagick and its PECL extension.
Then, we can patch ownCloud
```
$ patch -p1 < apps/galleryplus/patches/bitmap_preview.patch
```
Next add a few new entries to your configuration file. Look at the sample configuration in your config folder if you need more information.
```
$ nano config/config.php
```
And add the following
```
'preview_max_scale_factor' => 1,
'enabledPreviewProviders' =>
array (
0 => 'OC\\Preview\\Image',
1 => 'OC\\Preview\\Illustrator',
2 => 'OC\\Preview\\Postscript',
3 => 'OC\\Preview\\Photoshop',
4 => 'OC\\Preview\\TIFF',
),
```
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.
## Installation
Place this app in your apps folder or get the stable7 branch via the shell
```
$ git clone -b stable7 https://github.com/interfasys/galleryplus.git`
```
Now you can activate it in the apps menu. It's called Gallery+
## List of patches
1. bitmap_preview.patch - Adds support for Photoshop, Illustrator, TIFF, Postscript
2. session-template-fix.patch - Fixes AppFramework sessions for public shares
|