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.
- Installing
Clone the repo and update the dependencies.
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
- 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.
- 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/.
- 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.