Monday, May 5, 2014

Thumbs Plugin for CakePHP 2.x

Hi everyone, me and my friend created a Thumbnails plugin for CakePHP 2.x

This plugin allows you to create thumbnails from any public image just using URL´s, so you can use the thumbnail on your backgrounds too.

For example, if you have http://example.com/img/logotype.png and you wish to create a cropped image 100x100 px you can access http://example.com/thumbs/crop/small/img/logotype.png and will have a 100x100 cropped image from original. Or if you want this same logotype on a red box 300x300 pixels you can access https://example.com/thumbs/fill/medium/red/img/logotype.png. 

All you need to do is create a configuration file wich will be determine the sizes and fill colors.

More on https://github.com/lsantosc/Thumbs

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

No comments: