Timthumb-style Helper Function - Generate cached thumbnails on the fly... |
[eluser]Unknown[/eluser]
I've been working on a CMS/Boilerplate project and required a TimThumb-style script to generate my thumbnails on the fly. You can download it from github: https://github.com/darrencraig/Codeignit...-Generator Usage Code: <img src="<?php echo thumb('/path/to/your/full/image.jpg',300,200'); ?>"> I hope you find it useful!
[eluser]Unknown[/eluser]
[quote author="Stoney" date="1335184950"]Wrong link... 404. https://github.com/darrencraig/Codeignit...-Generator[/quote] A side-effect of late-night coding. Well spotted! I've updated the main post. |
Welcome Guest, Not a member yet? Register Sign In |