Photo-tagging

by Pavlo Myroniuk
5
4
3
2
1
Score: 50/100

Description

Simple Obsidian plugin for tagging people on photos

Reviews

No reviews yet.

Stats

0
stars
72
downloads
0
forks
64
days
3
days
59
days
31
total PRs
0
open PRs
0
closed PRs
31
merged PRs
0
total issues
0
open issues
0
closed issues
32
commits

Latest Version

2 months ago

Changelog

What's Changed

Full Changelog: https://github.com/TheBestTvarynka/photo-tagging/compare/0.3.0...0.3.1

README file from

Github

Photo tagging

Obsidian plugin for tagging people on photos

Motivation

I have a lot of genealogy data regarding my family and its history. I use Obsidian to work with this data. At some point, I needed a simple software to tag people on photos and then show a person's photos on their page. I did not find the existing plugin, so I decided to write my own.

Installation

[!IMPORTANT]
You must have libvips installed. See installation instructions: https://www.libvips.org/install.html.

Nope, you cannot disable it.

libvips is used to generate image tiles (image pyramids). The photo-tagging plugin uses it to handle large images.

When the user opens the image in the tagger for the first time, the plugin automatically generates image tiles and a preview image. The plugin will use them to display and zoom large images effectively.

Obsidian Community Plugins

The photo-tagging plugin is available in the Obsidian Community Plugins list. So, you can install it right from the Obsidian app. Here is a direct link to the plugin page: https://community.obsidian.md/plugins/photo-tagging.

Manual installation

You can install the plugin by downloading the release assets, placing them inside your Obsidian vault, and enabling it in the settings:

  1. Go to the TheBestTvarynka/photo-tagging/releases page and download release assets: main.js, manifest.json, and styles.css.
  2. Place these files in the vault plugin directory:
VAULT_DIR=/path/to/vault
PHOTO_TAGGING_DIR=${VAULT_DIR}/.obsidian/plugins/photo-tagging
mkdir -p ${PHOTO_TAGGING_DIR}
cp main.js ${PHOTO_TAGGING_DIR}
cp styles.css ${PHOTO_TAGGING_DIR}
cp manifest.json ${PHOTO_TAGGING_DIR}
  1. Enable the Grafily plugin in the Obsidian settings (Community Plugins section).

Manual

  1. You manually add tags to photos using the built-in tagger:

    You can open tagger from the file context menu (Tag people option):

  2. Every tag is linked to some note. In my case, every note represents a person.

  3. Add the following code block to see the person's photos inside the note:

        ```tagged-photos
        ```
    

    The plugin automatically resolves photos assigned to the current person:

    Person's plain gallery Photos are grouped by hashtags

All tags are saved inside JSON file. By default, the JSON file is located in the photo-tags.json at the root of the vault. You can change it in the plugin settings.

BDFL

Did you hear about BDFL?

TL;DR:

Benevolent dictator for life (BDFL) is a title given to a small number of open-source software development leaders, typically project founders who retain the final say in disputes or arguments within the community.

For the Photo-tagging project, the BDFL is @TheBestTvarynka (Pavlo Myroniuk), original creator of Photo-tagging.