Most Useless Code Igniter Helper Ever?
January 23rd, 2007
Have I written the most useless helper Code Igniter will ever see? I think so.
It takes an arbitrary image and arbitrary text and builds an image out of them.
becomes
(full size)
Which really doesn't do it justice until you see it full size, or run the demo. Here's a zoom.

- Completely impractical? CHECK!
- Chew up server and browser resources? CHECK!
- Fun to take images and overlay completely stupid slogans and sayings? BIG CHECK!
I should note that the helper handles colours just fine. Here's the rendered robot (2.7MB... be kind)


I proudly present the most useless helper ever written! The (useless) helper is available for download, and I've appropriately named it "useless_fun_helper". Run it just like you'd run any other helper.
$this->load->helper('useless_fun');
$txt = 'Code Igniter is an Open Source Web Application Framework that makes writing kick-ass PHP programs simple as apple pie';
$img = 'http://yourserver/ci_logo.jpg';
echo image_to_text($img, $txt); // typically you'd pass that into a view... I know... no hate mail ok
So this is my formal entry into the most useless helper of all time. Any runner-ups?
This entry was made on January 23rd, 2007 @ 8:50 and filed into CodeIgniter, PHP.

Yannick wrote on January 23rd, 2007 @ 13:23
LOL you’re right it is the most useless helper of all time. :P But looks cool though. :)