2017 © Pedro Peláez
 

silverstripe-module custom-image

An extension to Silverstripe core Image class. Added methods that renders absolute URLs for GD processed images.

image

silverstripe/custom-image

An extension to Silverstripe core Image class. Added methods that renders absolute URLs for GD processed images.

  • Tuesday, September 17, 2013
  • by sktzoootech
  • Repository
  • 1 Watchers
  • 0 Stars
  • 13 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 5 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

silverstripe-custom-image

An extension to Silverstripe core Image class. Added methods that renders absolute URLs for GD processed images. Other GD process/manipulation will be added on this class on later release., (*1)

Added Features

  • resizedAbsoluteURL - returns absolute URL of resized image
  • croppedImageAbsoluteURL - returns absolute URL of cropped image
  • setWidthAbsoluteURL - returns absolute URL of processed image resized according to width
  • setHeightAbsoluteURL - returns absolute URL of processed image resized according to height
  • paddedImageAbsoluteURL - returns absolute URL of processed image resized and padded with white spaces
  • setRatioSizeAbsoluteURL - returns absolute URL of processed image

Installation

The easiest way to install the module/extension is by using the following composer command in your project folder:, (*2)

sudo composer require --no-update silverstripe/custom-image:dev-master

You can also download the package from github and copy it to your project folder. Download it from https://github.com/skTzoOoTech/silverstripe-custom-image., (*3)

Instructions on how to use will be included in this readme file later., (*4)

The Versions

17/09 2013

dev-master

9999999-dev

An extension to Silverstripe core Image class. Added methods that renders absolute URLs for GD processed images.

  Sources   Download

The Requires

 

image silverstripe gd custom-image