How do I disable right click on my product images?
Filed in Advanced Customisation
Because of this, we generally do not recommend disabling right click or getting bogged down in trying to prevent the copy of images. In short, if someone is invested in copying your images they will find a way to do so. In reality it is very rare that content is copied for malicious purposes (i.e. to negatively impact your business) and the only legitimate precaution and protection in this case is obtained by officially registering your business name, copyright and/or trademark. Furthermore, applying protective measures may prevent desired sharing of your shop content (e.g. blog and social network sharing that drives traffic back to your site).
If you feel that copying of your images poses a significant risk to your business, you can disable right clicking by following the instructions in the next section of this article. You might also consider adding a watermark to your images.
Disabling right click
If you do not already have an x ic head code page, as detailed in the above linked article, create one now. Make sure that you switch the page edit mode to HTML and clear all existing content as described in How do I switch to HTML edit mode?
Applying the above script will disable right clicking on all images in your shop.