/Meisunry

A simple masonry offline image browser

Primary LanguageJavaScriptMIT LicenseMIT

Meisunry

A minimalist, offline masonry image viewer.

Masonry layouts are super common all over the web from websites like Pinterest, ArtStation, or DeviantArt. In terms of offline masonry viewers, the options are more limited. There are some programs like 123 Photos and Microsoft Photos. However, I've found both of these solutions to have a bit too much in the way.

This is where Meisunry comes in. Choose a folder and look at your images without any unnecessary details.

Demo

Controls

Left click: Make target image fullscreen
Right click: Sorting options, recursion depth, and folder selection
Ctrl + Mouse wheel: Zoom in/out
Shift + Mouse wheel: Padding control

Adding Meisunry to file explorer context menu

Caution

Editing the registry can be dangerous if you don't know what you're doing. I would not recommend following this section if you are not comfortable with registry editing.

Note

The following has only been tested on Windows 10. I cannot guarantee that future or past versions of Windows will also work properly. (Although I assume it shouldn't be an issue.)

First, find the location for each directory you would like to add the context menu actions.

Type Location
All files context menu Computer\HKEY_CLASSES_ROOT\*\shell
No selection context menu Computer\HKEY_CLASSES_ROOT\Directory\Background\shell
Folder selected context menu Computer\HKEY_CLASSES_ROOT\Directory\shell

Under each shell folder, right-click to create a new key called Meisunry. And under that key, create another key called command. It should appear like in the images below.

Now that the keys are created, you can set up the action itself.

Meisunry Key

In the Meisunry key, right click to create a new String Value with the name of Icon. The data for this should be set to the directory of your Meisunry installation as shown below. The (Default) string value data is for the preview text in the context menu. I'd recommend "Open with Meisunry."

Demo

command Key

In the command key, for the default string value, the value should be...

"{MeisunryInstallation}" "%V"

The %V will capture the directory you are targeting, so it is very important.

Demo

If you did everything correctly, right-clicking in File Explorer or on the Desktop will show this option in your context menu!

Demo