2017 © Pedro Peláez
 

silverstripe-module silverstripe-imagefunctions

Image Functions Module primarily adds more image functions to the Image object but it also adds some useful SiteConfig settings.

image

studiobonito/silverstripe-imagefunctions

Image Functions Module primarily adds more image functions to the Image object but it also adds some useful SiteConfig settings.

  • Friday, August 28, 2015
  • by nedmas
  • Repository
  • 2 Watchers
  • 8 Stars
  • 165 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 12 Versions
  • 7 % Grown

The README.md

WARNING: Module depreciated

This SilverStripe module is depreciated please consider using the silverstripe-imageextension module instead., (*1)

Image Functions Module

Overview

Image Functions Module primarily adds more image functions to the Image object but it also adds some useful SiteConfig settings., (*2)

Requirements

SilverStripe 3.0 or newer., (*3)

Installation Instructions

Copy the 'imagefunctions' folder to your the root of your SilverStripe installation., (*4)

Functions

RationCrop

RatioCrop is an Image function that resizes then crops the image, which we thinks gives the best results when dealing with user uploaded images., (*5)

Usage Overview

<% with Image %>
    $RatioCrop(200,300)
<% end_with %>

Placeholder Images

This module also provides the facility to set placeholder images via three DataExtensions (PlaceholderImagePageExtension, PlaceholderImagePerPageExtension, PlaceholderImageSiteConfigExtension)., (*6)

Usage Overview

$PlaceholderImage

PlaceholderImageSiteConfigExtension (Required)

This is the main extension which adds a PlaceholderImage to the SiteConfig. This extension must be configured in order to use either of the others., (*7)

PlaceholderImagePageExtension (Required)

This extension adds methods to access the PlaceholderImage. By default this extension is added to the Page DataObject., (*8)

PlaceholderImagePerPageExtension (Optional)

This extension adds a PlaceholderImage to any DataObject. It is designed to be added to DataObjects that act as parents to other DataObjects, thus allowing for localised inheritance of PlaceholderImages., (*9)

The Versions

28/08 2015

dev-master

9999999-dev

Image Functions Module primarily adds more image functions to the Image object but it also adds some useful SiteConfig settings.

  Sources   Download

BSD-2-Clause

The Requires

 

image silverstripe

28/08 2015

dev-develop

dev-develop

Image Functions Module primarily adds more image functions to the Image object but it also adds some useful SiteConfig settings.

  Sources   Download

BSD-2-Clause

The Requires

 

image silverstripe

28/08 2015

3.3.2

3.3.2.0

Image Functions Module primarily adds more image functions to the Image object but it also adds some useful SiteConfig settings.

  Sources   Download

BSD-2-Clause

The Requires

 

image silverstripe

20/08 2014

3.3.1

3.3.1.0

Image Functions Module primarily adds more image functions to the Image object but it also adds some useful SiteConfig settings.

  Sources   Download

BSD-2-Clause

The Requires

 

image silverstripe

20/08 2014

3.3.0

3.3.0.0

Image Functions Module primarily adds more image functions to the Image object but it also adds some useful SiteConfig settings.

  Sources   Download

BSD-2-Clause

The Requires

 

image silverstripe

20/08 2014

3.2.0

3.2.0.0

Image Functions Module primarily adds more image functions to the Image object but it also adds some useful SiteConfig settings.

  Sources   Download

BSD-2-Clause

The Requires

 

image silverstripe

10/05 2013

3.1.0

3.1.0.0

Image Functions Module primarily adds more image functions to the Image object but it also adds some useful SiteConfig settings.

  Sources   Download

BSD-2-Clause

The Requires

 

image silverstripe

10/05 2013

3.0.1

3.0.1.0

Image Functions Module primarily adds more image functions to the Image object but it also adds some useful SiteConfig settings.

  Sources   Download

BSD-2-Clause

The Requires

 

image silverstripe

27/03 2013

3.0.0

3.0.0.0

Image Functions Module primarily adds more image functions to the Image object but it also adds some useful SiteConfig settings.

  Sources   Download

BSD-2-Clause

The Requires

 

image silverstripe

21/02 2013

2.2.1

2.2.1.0

Image Functions Module primarily adds more image functions to the Image object but it also adds some useful SiteConfig settings.

  Sources   Download

The Requires

 

image silverstripe

07/02 2013

2.2

2.2.0.0

The Image Functions module adds more image functions to the Image object on your Silverstripe site.

  Sources   Download

The Requires

 

image silverstripe

28/01 2013

2.1

2.1.0.0

The Image Functions module adds more image functions to the Image object on your Silverstripe site.

  Sources   Download

The Requires

 

image silverstripe