Roballoo / TOFU / Article


Creating a flavorless image gallery


I needed an image gallery to share some photos to a friend. I didn't want to flickr the images to any of the 500 pic, cloud or box sites.

I kept the styling minimal: One image per page along with Previous, Next and Home buttons.

Tofu is written in PHP and counts numbered files from a designated directory (1.jpg, 2.jpg, etc.). The result is a unique URL for each image allowing for easy sharing.

Tofu out of the box is no frills ~ jut like the real thing. Don't get me wrong, I like the stuff, but tofu by itself doesn't have much flavor. It's the seasonings and other ingrediants that all combine to make the meal. This gallery is just like that ~ no flavor. You add the (CSS) seasonings.

Coming soon to a GitHub near you.




PHP, HTML, CSS, Photoshop, Adobe Illustrator

Key Insights

Start simple and iterate from there.

After my initial use of Tofu I've been able to resue my code on other projects. In fact, Tofu is what powers the image galleries on this very site.

Fun Fact

Tofu also powers my own web comic Hip 'n' Hop that I publish over at Simple Comics. Enjoy!