Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UX - Ability to tag and filter images in image library #5680

Open
stpaultim opened this issue Jul 10, 2022 · 2 comments
Open

UX - Ability to tag and filter images in image library #5680

stpaultim opened this issue Jul 10, 2022 · 2 comments

Comments

@stpaultim
Copy link
Member

stpaultim commented Jul 10, 2022

Description of the need

I am just finishing a Drupal 7 to Backdrop CMS upgrade that has approximately 3500 managed images in the image library with only one way to sort or organize them, by name. I immediately began to think about how the site admins better manage this number of images and quickly find images that they might want to re-use for specific purposes.

Examples:

  • Photos of staff for use in organizational updates
  • Images suited for hero block at top of page
  • Images about a specific program

I recently had a similar use case with a Wordpress site and found a number of paid plug-ins that provide folders or tagging for images.

At first glance, it would appear to many beginners that Backdrop does not support this. I suspect that many of them would go looking for a contrib module to help with this. In fact, a pretty elegant solution is available in Backdrop core, but I suspect difficult to find for many new users.

  1. Add an Image Category vocabulary (or use existing 'tags').
  2. Add a term reference field to image file type.
  3. Modify 'Image Library' view that comes with core to include an exposed filter for tags.

Proposed solution

I propose adding at least #2 and #3 (using existing "tags" vocabulary) or adding #1, #2, and #3.

In my view, this relatively simple change to the install profile would address a fairly common use case and make the existing image libary easier to use and more powerful.

UI for adding in image would look something like this (but with a little more styling):
image

Alternatives that have been considered

  1. This can be configured by any site architect, but the solution is not easy to see or find and I suspect many site architects may not find this solution without a little help.

  2. We could also look at a contrib module or recipe that adds this feature.

  3. Make it easier to for site architects to add contrib install profiles and include this is an install profile.

I believe that this can be done 100% in the install profile, so it would not effect existing sites and has no backward compatibility issues.

Additional information

It seems to me that parts of this would be easy to implement, easy to use, and fit common use cases. Why not make the image library easier to use and more robust?

Draft of feature description for Press Release (1 paragraph at most)

Backdrop now includes the ability to tag images by type or category and comes with an additional filter to help manage your files. This will be particulary helpful on sites with lots of images.

@indigoxela
Copy link
Member

indigoxela commented Jul 10, 2022

I belief, something like that has been asked/requested before, but don't seem to find an existing issue for that. (Maybe it has just been discussed in our chat?).

Yes, with lots of images, the image library quickly gets cumbersome.

This can be configured by any site architect

IMO that's an important point. Not all sites will have thousands of images - probably only a minority.

Another problem: while File entities are fieldable, these fields won't be available to add via "regular" image field upload. So I'm assuming, site architects need to consider and adapt the whole upload workflow.

We could also look at a contrib module or recipe that adds this feature

My current suspicion is: it's a contrib candidate. Maybe I could get convinced, though, that it's not. 😉

@argiepiano
Copy link

argiepiano commented Jul 10, 2022

I agree this would be a good core addition and fairly simple to implement as stated above.

Not all sites will have thousands of images - probably only a minority.

True. But we also provide tags for Posts, and many sites don't ever use that feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants