Mejiro Update

Although I’ve been busy scribbling articles, I did manage to add a couple of new features to Mejiro. Firstly, it’s now possible to rebuild thumbnails. To do this, append the ?r parameter to the URL as follows:

http://127.0.0.1/mejiro/?r

This empties the photos/thumbs directory inside the Mejiro installation and prompts you to reload the main page to regenerate thumbnails. This feature can come in useful if some thumbnails get corrupted.

Mejiro now includes an upload form that makes it possible to upload photos and accompanying description files directly from the main page. To show the form, use the ?u parameter (e.g., http://127.0.0.1/mejiro/?u).

The good news is that you don’t have to remember all the parameters. The Help link in the footer shows a box listing all the available parameters and their brief descriptions.

mejiro-20140803

Inclusion of the <meta name=”viewport” content=”width=device-width” /> tag now makes Mejiro slightly more mobile-friendly, and the app uses Fira Sans as its default font. As an exercise, I also cobbled together a simple Chrome (and Chromium) extension for use with Mejiro. The extension adds a button which opens Mejiro in a new tab. By default, the extension points to a Mejiro demo, but you can easily edit the URL. The extension is not available on Google Web Store, so you have to install it manually from its GitHub repository.

As always, you can find the latest version of Mejiro at the project’s GitHub page.

 

Freelance tech writer covering Linux and open source software.

Tagged with:
Posted in Scribbles
2 comments on “Mejiro Update
  1. Small bug: You forgot the final ” in the $title line :)

    • Dmitri Popov says:

      Thank you for your comment, Mads! But are you sure? Line 20 looks like this:

      $title = "Mejiro — 目白";

      All quotes are there. Or am I looking at the wrong line?

Comments are closed.

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

Follow

Get every new post delivered to your Inbox.

Join 499 other followers

%d bloggers like this: