Download the PHP package dft/silverstripe-gallery without Composer

On this page you can find all versions of the php package dft/silverstripe-gallery. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package silverstripe-gallery

Silverstripe Image Gallery

Scrutinizer Code Quality

Build Status

Adds image galleries to your SilverStripe website.

Author

This module was created by Dean Forest Tech.

Installation

The prefered method is via composer:

composer require dft/silverstripe-gallery

Alternativley download and add to:

[silverstripe-root]/gallery

Then run a dev/build (eithe from the browser of the command line).

Usage

Once installed, you can add either a Gallery Hub or a Gallery Page to your site.

Gallery Hub

Hub pages generate a thumbnail for each child GalleryPage with a link to view that gallery.

The thumbnail is generated based on the first image in the list

Gallery Page

A gallery page allows you to upload images and then generates them as a thumbnail gallery. Clicking on the thumbnail opens a modal/lightbox.

You can add a gallery to your site by creating a GalleryPage from within the CMS.

Under the Gallery tab, you can then upload as many images as needed.

Changing the width and height of images

If you wish to change the width and height of the gallery images (or thumbnails) loaded, you can do this under the Settings tab on your GalleryPage.

You can set the following options:

Resize options are as follows:

Forcing the widths and heights

If you want all galleries to be restriced to set sizes, you can set some config variables. Setting these configs will remove the relevent fields from the CMS.


All versions of silverstripe-gallery with dependencies

PHP Build Version
Package Version
Requires silverstripe/cms Version ^4 || ^5
bummzack/sortablefile Version ^2
dft/silverstripe-modeladminplus Version ^1.2 || ^2
silvershop/silverstripe-hasonefield Version ^3.0 || ^4.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package dft/silverstripe-gallery contains the following files

Loading the files please wait ....