Easy Photo Publishing: Using the Link Box in Mejiro

If you happen to use popular services like WordPress and Flickr, you’ll be pleased to learn that Mejiro provides a handy link box, where you can specify any number of links to practically any service or resource.


By default, Mejiro links to popular services such as Flickr, WordPress, GitHub, etc. But the app is designed to make it easy for you to replace and edit the existing links as well as add new ones. To do this, open the index.php script for editing in a text editor and locate the following code block:

$links = array (
array('https://www.flickr.com/photos/dmpop/','fa fa-flickr fa-lg'),
array('https://scribblesandsnaps.com/','fa fa-wordpress fa-lg'),
array('https://github.com/dmpop','fa fa-github fa-lg'),
array('https://plus.google.com/+DmitriPopov/','fa fa-google-plus fa-lg'),
array('https://twitter.com/dmpop','fa fa-twitter fa-lg')

As you can see, each link here is defined as a separate array containing two values: a URL and a Font Awesome icon. So if you want to add a new link, simply add a new array and specify the desired URL and icon (you can pick the icon you like from a complete list of Font Awesome icons). For example, if you want to add a link to your Instagram profile, the array should look something like this:

array('https://instagram.com/user/','fa fa-instagram fa-lg')

There is one important thing you need to keep in mind: all arrays must be separated by commas, except the last one.

By the way, if you don’t want to display the link box at all, you can disable it by changing $link_box = true; to $link_box = false;

Tech writer covering Linux and open source software

Posted in Scribbles
2 comments on “Easy Photo Publishing: Using the Link Box in Mejiro
  1. Thanks for all your work.

    FYI, from the Github readme, the link to the *Little Mejiro Book* appears broken.

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: