2017 © Pedro Peláez
 

symfony-bundle liipimaginewatermark-bundle

Watermark filter for liip-imagine

image

simonsimcity/liipimaginewatermark-bundle

Watermark filter for liip-imagine

  • Tuesday, March 26, 2013
  • by SimonSimCity
  • Repository
  • 1 Watchers
  • 4 Stars
  • 164 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 1 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

WatermarkFilterBundle

Sorry for the short documentation, but this code was just meant to be of personal use and show an example on how to create your own custom imagine-filters in Symfony2., (*1)

Just install it as every SF2 package by adding it to your composer.js file and run the update-command or downloading the files and adding the package in your AppKernel class., (*2)

Configuration

Here's an example on how to use this custom filter:, (*3)

liip_imagine:
    filter_sets:
        thumbnail:
            quality: 75
            filters:
                thumbnail: { size: [120, 80], mode: outbound }
                watermark:
                    file: %kernel.root_dir%/Resources/misc/watermark.png
                    placement: { position: center, resize: stretch, space: "10%" }

The Versions

26/03 2013

dev-master

9999999-dev

Watermark filter for liip-imagine

  Sources   Download

MIT

The Requires

 

by Simon Schick

watermark imagine liip