It isn't possible to completely prevent someone from copying an image or audio from your site. Right-clicks can be disabled using code, but computers can still use various programs to capture screenshots and record audio. This guide covers several approaches you can take to protect your images and discourage unlawful copying.
We recommend adding semi-transparent text or a logo, known as a watermark, to your images. When tastefully done, watermarks can be an ideal asset to the photographer, both protecting your images and promoting your brand.
The primary advantage of watermarks is that, even if someone screenshots your image, the watermark will still identify it as yours.
You can create advanced watermarks using photo editing software like Photoshop or Gimp.
Reduce image size
We recommend uploading images with a width of 1500 pixels to 2500 pixels. While the maximum file size is 20 MB, we recommend keeping your image files below 500 KB. Images below 1 MB in size will be web-optimized, and look great on your site, but won't be suitable for printing. This will discourage anyone from trying to use your images offline without your permission.
For more on image formatting, visit Formatting your images for display on the web.
Connect to streaming services
Streaming platforms like SoundCloud and Spotify prevent audio downloads by default. When you use these services to add tracks and playlists to your site, visitors won’t see the option to download a file when they right-click. Visitors can use these services to play audio on repeat and share streaming content without sharing the actual files.
Use the SoundCloud Block to add a track or playlist to your site from SoundCloud.
Use audio samples
If you want to upload a file directly, consider creating an audio sample. Audio samples let visitors preview your content without having access to the entire track. Using an audio sample also lets you control which part of your track visitors engage with first.
We don't recommend this option since it creates a false sense of security and in no way prevents screenshots, drag-and-drop downloading, or recording software from capturing your content. However, if you'd like to disable right-clicks, you can do so by adding custom code to Code Injection.
This topic has come up on our Answers forum, and you can view the post for more information and example code.
Code Injection is a Premium feature available in Business and Commerce plans.
Note: Custom code modifications fall outside the scope of our support. This means that we’re unable to help further with setup or troubleshooting. Additionally, with a code-based solution, we can’t guarantee its functionality or full compatibility with Squarespace. This includes how it functions with our responsive design, particularly its appearance on mobile devices, and if it functions on all templates. Custom code can also cause display issues with future updates to our platform. While we can't help further, there are many resources that can point you in the right direction: