Skip to content

Latest commit

 

History

History
executable file
·
58 lines (33 loc) · 1.65 KB

README.md

File metadata and controls

executable file
·
58 lines (33 loc) · 1.65 KB

Thumbnizer

Welcome to the Thumbnizer. Thumbnizer is an application based off the Symfony Standard Edition framework. The purpose of this application is to crop images on the fly behind a content delivery network.

  1. Installing

Clone the repo and update the dependencies.

Use Composer (recommended)

Thumbnizer uses Composer, just like symfony.

If you don't have Composer yet, download it and follow the instructions from http://getcomposer.org/.

curl -s http://getcomposer.org/installer | php
  1. Checking your System Configuration

Since we are using Symfony, Execute the check.php script from the command line:

php app/check.php

Setup Apache to allow encoded slashes

AllowEncodedSlashes On
  • This can be added in under your virtual host settings.
  1. Using the Application

[Your CDN]/thumbnail/[width]/[height]/[public image url]
  • To Filter urls from using the application, essentially hot linking, the allowedurl.yml file must be updated with the list of urls. The file is located in /src/Thumbnizer/ProcessingBundle/Resources/config/.
  1. Coming On Future Releases.

  • Work with AWS

Enjoy!

CREDITS: Thanks to marchibbins for the inpiration Filters and Effects. Thanks to Stoyan Stefanov for more inspiration on how to implement the effects.