Link to RAW For each photo in the JPEG format, you can upload the accompanying RAW file, and Mejiro automatically adds a link to it.

Support for subfolders Photos inside the default photo directory can be organized into subfolders.

Keyboard shortcuts The application supports keyboard shortcuts for common actions.

Requirements

A web server with PHP5 and the GD library. (Tested with Apache and lighttpd)

cURL

Git (optional)

Installation and Usage

Install the required packages. On Debian and Ubuntu, this can be done by running the following command as root: apt install apache2 php5 php5-gd curl git

In the terminal, switch to the root directory of the server (e.g., /var/www/html) and use the git clone https://github.com/dmpop/mejiro.git command as root to fetch the latest source code. Alternatively, you can download the ZIP archive and extract it into the document root of the server.

Open the index.php file in a text editor and edit settings. This step is optional.

Make the mejiro directory writable by the server using the chown www-data -R mejiro command as root.

Point the browser to http://127.0.0.1/mejiro/ (replace 127.0.0.1 with the actual IP address or domain name of your server).

You can add descriptions to photos by creating accompanying .txt files. For example, to add a description to the F994362-R1-14-15.jpg photo, create the F994362-R1-14-15.txt file containing a short text. You can use HTML markup for formatting the text. To add description files in other languages, use the appropriate language prefix as follows: de-F994362-R1-14-15.txt (for German), ja-F994362-R1-14-15.txt (for Japanese), etc.

To enable the expiration feature, change the $expire = false; line in the index.php script to $expire = true; and specify the desired expiration period by modifying the $days variable.