LOLCat Generator in PHP

Last night I had a discussion with my roommate and decided that it would be pretty trivial to make a php script that generated LOLCats, since everyone else was doing it. Of course, as far as I know there are no free LOLCat generator scripts, so without further ado, I present to you my open source LOLCat generator script. It includes a demo page to show how its supposed to work. There are a number of parameters you can adjust… its intended to be used as a library. You can download it from my software page.

LOLCats Generator page

Download Page:


Let me know if you find any bugs. 🙂

3 Responses to “LOLCat Generator in PHP”

  1. bj says:

    Do you have any plans to add an uploader onto this? Apparently there is a lotta call for this sorta thing.

    If you do I’ll buy you a cheezburger. 😉

    Thanks for your consideration,

  2. dustin says:

    Mmmm…. cheeseberger :p

    No, the script on my site is just meant to be a demo site for the LOLCat generator PHP library… and, for how much traffic it still gets, an uploader would fill up a lot of space. From my perspective, its easier for everyone (especially me) if the user just uploads the photo to photobucket or something and then feeds that link to the library.

    But hey, its open source, you can add it yourself and host it on your site. 😉

  3. EF says:

    I get an error on your demonstration page every time I try to provide a URL of an image. It says:

    Error 2: getimagesize() [ function at line 82

    Any suggestions? I really appreciate your work on this, and have thought about turning it into a Drupal module.



Leave a Reply