Is there a way to differentiate between hidden media and no media?

Due to copyright restrictions, we need to hide some media for users who are not logged in.

Instead of the media thumbnail, we want to show a message such as “come to the library and watch the media”.

My developer says that when a media is hidden, there is no positive indication that the media is hidden and Omeka-S is just not displaying the thumbnail.

My question - is there a positive indication in the model that he can use in order to see if the media is hidden? Or do we have to add a field to the resource template to indicate that the media cannot be shown?

Thanks,

Hanan Cohen

To clarify (I am the developper :cowboy_hat_face:) - when a media item is marked as private - there is no indication it exists when the viewer is not logged in. So we can not post an indication that it exists but is private. Is there a way to do that?

@hananc Omeka S already has a visibility flag on the Media resource itself. A media can be independently marked public or private, even when its parent Item is public.
The documentation explicitly says that a public Item can have attached media that are either public or private Media - Omeka S User Manual

That’s right, a private media functions as though it doesn’t exist to un-logged-in users.

And we don’t provide a way to indicate when something exists that you don’t have access to.

You can’t attach a public thumbnail to a private media, or public metadata statements to private media. Once the media itself is set to private, its entire existence is invisible.

You can do an advanced media search for all media that is set to private. Then from that list you can manually edit each item and give it a generic thumbnail that says “This file is private, please contact us” - as well as edit the item metadata to add a statement to that effect.

It is unfortunately not possible (with Omeka Team modules) to batch-search/edit “public items that have private media” to make that a little faster.

You may be able to do that with our API; I’m not an expert there. You could also use CSV Import to append extra privacy statements to the items you’ve identified as needing them.