Photocrumbs is Now Mejiro

Photocrumbs has served well as a working name for my spare-time coding project. But the time has come to give my forgetful photo publishing PHP script a proper name. It took me a while to come up with a good name. I wanted a short and catchy name that reflects my deep interest in Japan. While trawling the web, I stumbled across the Japanese white-eye bird called mejiro in Japanese. It’s small, it’s cute, and it has a short name that sounds unmistakably Japanese — in other words, exactly the name I was looking for. So here it is, Photocrumbs is now Mejiro.


Besides the new name, the current version of the script features a handful of improvements and tweaks. If you check out my Mejiro installation, you’ll immediately notice the new design which makes better use of the screen estate. It works better on small screens, too (although technically it’s not responsive). The most significant improvement, though, is the addition of the navigation links which make it easier to browse the published photos. It may not sound like a big deal, but it took me a while to figure out how to implement this feature (I’m just a weekend coder after all). I’m pretty sure that my solution is not the most efficient, but it does the job.


Using the PHP function posted on Stack Overflow, I also implemented a geolinking feature which lets you view the location of the geotagged photo on OpenStreetMap. This functionality has been at the top of my wishlist for quite a while, and I’m glad I’ve finally got around to adding it. Another minor yet important change: Mejiro now uses .txt plain text files for photo descriptions instead of .php files. If you already have a lot of .php files in the photos directory, you can change their file extensions using the following command (assuming you are using Linux):

for file in *.php; do mv "$file" "`basename $file .php`.txt"; done

Last but not least, Mejiro can now parse IPTC metadata and display keywords for each photo. This feature lets you view tags assigned to photos in digiKam or any other photo management application.

For now, I’ve implemented all the features on my wishlist, but if you have an idea or a request for improvement, you are very welcome to submit it in the project’s Issues section.

Tech writer covering Linux and open source software

Tagged with: ,
Posted in Scribbles
One comment on “Photocrumbs is Now Mejiro
  1. Thank you, Dmitri!!!

Comments are closed.

Recipes for automated and streamlined photographic workflow on Linux

Use digiKam? Get this book!

Practical advice for nighttime photography

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

%d bloggers like this: