2017 © Pedro Peláez
 

silverstripe-module ss3gallery

Forked and tweaked version of ss3 gallery

image

weboftalent/ss3gallery

Forked and tweaked version of ss3 gallery

  • Monday, April 18, 2016
  • by weboftalent
  • Repository
  • 2 Watchers
  • 0 Stars
  • 41 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 2 Open issues
  • 14 Versions
  • 0 % Grown

The README.md

SS3 Gallery

Build Status Scrutinizer Code Quality Code Coverage Build Status codecov.io, (*1)

Latest Stable Version Latest Unstable Version Total Downloads License Monthly Downloads Daily Downloads, (*2)

Dependency Status Reference Status, (*3)

codecov.io, (*4)

Maintainers

Introduction

This gallery module enables bulk upload of images, and displays them using the jQuery plugin PrettyPhoto. It will by default try to import photographic metadata, including geographic location. A map can then be displayed along with the images from the photographic template., (*5)

Forked from https://github.com/OpticBlaze/ss3Gallery and adapted to use other modules from Web of Talent to aid rendering., (*6)

Installation

composer require weboftalent/ss3gallery

Usage

Uploading Images

Editing Images

For showing the main point of interest in an image, it is highly recommended to install the Focus Point module (composer require jonom/focuspoint). Below is an example of editing an image so the main area of interest, the head of the statue, is not cropped out., (*7)

Automatically cropped image of the statue, around it's centre.  The head is all
but missing. Edit the focus point, in the case the face of the statue Same image but with it's focus point now on the face of the statue, (*8)

Templating

Maps

When rendering a GalleryPage simply have $Map in your template., (*9)

Extensions

MapExtension (Enabled by default)

Images can have their location edited, and also imported if the GPS coordinates are present in the EXIF data., (*10)

To remove this functionality add the following to mysite/_config.php, (*11)

GalleryImage::remove_extension('MapExtension')

ImageMetaDataExtension (Enabled by default)

Creates fields for a number of photographic metadata fields such as aperture, shutterspeed and film speed. Also imports EXIF data when an image is written to the database and EXIF data has not previously been read., (*12)

LatestGalleryImagesExtension (Enabled by default)

This simply adds a template method allowing one to get the latest N images from the database. This might be of use for say a 'Newest Images' widget., (*13)

AttachedGalleryExtension

This optional extension allows one to attach a GalleryPage to an existing page type and render it inline. One can add GalleryPages in 1 of 2 manners: * Use the tab 'Attached Gallery' and select a gallery existing elsewhere in the site. * Add child pages, as many as you wish, of type GalleryPage. * In the page template for the relevant page type, add <% include InlineGalleries %> where you want to the images to appear., (*14)

Requirements

  • SilverStripe 3.1 or 3.2
  • Mappable module
  • Page With Image module
  • Portlets module

All of these are automatically installed by Composer., (*15)

Optionally: * Focus Point module - images can be cropped to say a square, but still have the main focus point of the image visible., (*16)

TODO

  • It would be good to have versions of the template ready for popular frameworks such as Zurb Foundation or Bootstrap. I envisage likes of an extra tab containing a dropdown with a choice of templating/viewing library to use.

The Versions

18/04 2016
08/02 2016

dev-test_fast_finish

dev-test_fast_finish

Forked and tweaked version of ss3 gallery

  Sources   Download

BSD-3-Clause

The Requires

 

gallery silverstripe images weboftalent

07/02 2016
07/02 2016

dev-testsWTF

dev-testsWTF

Forked and tweaked version of ss3 gallery

  Sources   Download

BSD-3-Clause

The Requires

 

gallery silverstripe images weboftalent

06/02 2016

1.0.5

1.0.5.0

Forked and tweaked version of ss3 gallery

  Sources   Download

BSD-3-Clause

The Requires

 

gallery silverstripe images weboftalent

06/02 2016

1.0.4

1.0.4.0

Forked and tweaked version of ss3 gallery

  Sources   Download

BSD-3-Clause

The Requires

 

gallery silverstripe images weboftalent

05/02 2016

1.0.3

1.0.3.0

Forked and tweaked version of ss3 gallery

  Sources   Download

BSD-3-Clause

The Requires

 

gallery silverstripe images weboftalent

02/02 2016

1.0.2

1.0.2.0

Forked and tweaked version of ss3 gallery

  Sources   Download

BSD-3-Clause

The Requires

 

gallery silverstripe images weboftalent

02/02 2016

1.0.1

1.0.1.0

Forked and tweaked version of ss3 gallery

  Sources   Download

BSD-3-Clause

The Requires

 

gallery silverstripe images weboftalent

20/01 2016

1.0.0

1.0.0.0

Forked and tweaked version of ss3 gallery

  Sources   Download

BSD-3-Clause

The Requires

 

gallery silverstripe images weboftalent

20/01 2016

dev-continuous_integration

dev-continuous_integration

Forked and tweaked version of ss3 gallery

  Sources   Download

The Requires

 

gallery silverstripe images weboftalent