#29 Label photos (tagging)

Closed
opened 1 year ago by aheathershaw · 4 comments

Provide the ability to “tag” or “label” photos with multiple arbitrary terms.

There should be a new management page in the admin section, and appropriate permissions. The management page should allow creation of new labels, and removal/rename of existing labels.

Underneath the photo metadata fields (album photos tab) provide an auto-complete suggestion box where you can type labels in - comma separated? New labels get added automatically, existing labels get linked.

In the gallery, labels should be listed below the photo (or the metadata?) with links to the relevant “label” page - which follows the same design as the “show album” gallery page.

Provide the ability to "tag" or "label" photos with multiple arbitrary terms. There should be a new management page in the admin section, and appropriate permissions. The management page should allow creation of new labels, and removal/rename of existing labels. Underneath the photo metadata fields (album photos tab) provide an auto-complete suggestion box where you can type labels in - comma separated? New labels get added automatically, existing labels get linked. In the gallery, labels should be listed below the photo (or the metadata?) with links to the relevant "label" page - which follows the same design as the "show album" gallery page.
aheathershaw added this to the Version 2.1.0 milestone 1 year ago
aheathershaw self-assigned this 1 year ago
aheathershaw added the
feature
label 1 year ago
aheathershaw commented 1 year ago
Owner

The dynamic label gallery views should also be included in the Google sitemap.

The dynamic label gallery views should also be included in the Google sitemap.
aheathershaw commented 1 year ago
Owner

Because labelled photos can come from any number of albums, BT needs to ensure it only returns photos from albums the user can access.

Therefore use the same method that retrieved albums available to the current user to get a list of accessible album IDs, and filter the photo-by-label query to this list.

Because labelled photos can come from any number of albums, BT needs to ensure it only returns photos from albums the user can access. Therefore use the same method that retrieved albums available to the current user to get a list of accessible album IDs, and filter the photo-by-label query to this list.
aheathershaw commented 1 year ago
Owner

One outstanding issue - if you add a new label to multiple photos before hitting Save Changes, multiple instances of the same label are created in the database.

When a label is about to be created, need to check if it exists first as it may have been created within the same operation.

One outstanding issue - if you add a new label to multiple photos before hitting Save Changes, multiple instances of the same label are created in the database. When a label is about to be created, need to check if it exists first as it may have been created within the same operation.
aheathershaw commented 1 year ago
Owner
Migrated from https://github.com/andysh-uk/blue-twilight/issues/29
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
Cancel
Save
There is no content yet.