openverse-frontend icon indicating copy to clipboard operation
openverse-frontend copied to clipboard

Discourage users from right-click and saving images from single result views

Open zackkrida opened this issue 3 years ago • 4 comments

Problem

Inspired by @sarayourfriend's comment on a related PR, I was reminded that it's fairly common for Openverse users to right click and save the images from the single results as a method of downloading Openverse images. This isn't ideal for a few reasons:

  • The user might not get the highest-quality possible image, or other desirable formats, especially if we switch to using our image proxy on single image results in the future
  • The image might be taken down at the source due to a copyright infringement or other issue, and without checking the user might put themselves at legal risk.

Description

Here are two ideas for fixing this, the first the friendliest I can think of and the second a potential dark-pattern:

  1. Show a flash message on screen when the user attempts to click, or right click the image, that shows them a version of the text in this issue description. We could also include a direct link to the source in this message. We could make this message appear once only, and allow saving the image on subsequent interactions. This would be meant to discourage but not prevent the default behavior.
  2. We could silently block any interacting with the image via CSS, forcing users to inspect the page in devtools to download the images. You can see this modeled in the desktop/web version of Instagram.

Alternatives

Additional context

Implementation

  • [ ] 🙋 I would be interested in implementing this feature.

zackkrida avatar Jun 08 '22 23:06 zackkrida

Another option I can think of is making the image link to the foreign landing page. Google Images notably does this when you click on the image result and then click the slightly bigger image that appears in the right pane.

dhruvkb avatar Jun 09 '22 12:06 dhruvkb

@dhruvkb we might still want to block right clicks default behavior, which would show the 'save image as' prompt even for a link, but that's a great idea regardless.

zackkrida avatar Jun 09 '22 12:06 zackkrida

Both sound great! Different issues I think though right?

sarayourfriend avatar Jun 09 '22 17:06 sarayourfriend

I don't quite like the idea of blocking the right-click at all, I don't see the point of being overprotective with users, we're not an entity holding copyright images and everyone should do their due diligence of checking the license permissions for their intended use. To me, it seems that it goes against the spirit of the project.

Also, in the case when the image is taken down due to copyright I'd say it lands more on the rare cases, while this change will apply to all images. What if someone wants to save the image they see in Openverse because it doesn't care about resolution or being the original one? Why should we block that?

The @dhruvkb's idea sounds good enough to me to resolve this.

krysal avatar Jun 14 '22 17:06 krysal