Download the PHP package studiobonito/silverstripe-imagefunctions without Composer

On this page you can find all versions of the php package studiobonito/silverstripe-imagefunctions. 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-imagefunctions

WARNING: Module depreciated

This SilverStripe module is depreciated please consider using the silverstripe-imageextension module instead.

Image Functions Module

Overview

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

Requirements

SilverStripe 3.0 or newer.

Installation Instructions

Copy the 'imagefunctions' folder to your the root of your SilverStripe installation.

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.

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).

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.

PlaceholderImagePageExtension (Required)

This extension adds methods to access the PlaceholderImage. By default this extension is added to the Page DataObject.

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.


All versions of silverstripe-imagefunctions with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.2
silverstripe/framework Version 3.*
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 studiobonito/silverstripe-imagefunctions contains the following files

Loading the files please wait ....