![]() |
Timthumb adaption as controller - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: Timthumb adaption as controller (/showthread.php?tid=30422) |
Timthumb adaption as controller - El Forum - 05-14-2010 [eluser]packetfox[/eluser] Hello all, i am working on implementing timthumb as a library or controller to use in my application. Why not use the original timthumb.php? A few reasons, for example because i store images outside of my Document Root, and they are only available to people that have logged in. Here is what i did so far, it will make people cringe i bet, but it works; it can be called like www.domain.com/timthumb/index/800x600.jpg/300/300/1/100/0/1, which will resize the image 800x600.jpg stored in a certain folder to 300x300 px at 100 Quality, and sharpen it. Its full of errors and there is much to be improved (cant yet pass a path to an image etc), so ill post this here as a start, hopefully someone else will enhance it or even take timthumb and implement it as a library and share it back. Ill also keep sharing the improvements to my controller here as i make them; rgds Timthumb adaption as controller - El Forum - 06-30-2010 [eluser]Daniel H[/eluser] I think timthumb is extraordinary and I'm pretty excited to see a CI port - have you updated this since this last post mate? I.e. what are the errors? Timthumb adaption as controller - El Forum - 07-27-2010 [eluser]zarpio[/eluser] Please let me know how to use this Timthumb(controller)? I need tutorial. Thanks Timthumb adaption as controller - El Forum - 10-07-2010 [eluser]Goran Petrovic[/eluser] TimThumb is cool , working ... if you have new version let me know. Thanks Timthumb adaption as controller - El Forum - 11-21-2010 [eluser]Bui Duc Long[/eluser] sorry I have to bump this thread ![]() |