Disable right click on images

Question:

I am wondering if there is a way to disable right click so users can’t view or download individual images?

Answer:

You can disable right click on images with JavaScript but it won’t prevent people from downloading them.

In fact, there is no way to stop people downloading the images. As long as the image is public on your webpage, no matter what you do, there will be a way to download it. I think the only way to protect them is adding some watermarks to the images.

Anyway, to disable right click, you can add the following JavaScript to your webpage. The script will disable right clicks on images.

<script>
(function($){
  $(document).on('contextmenu', 'img', function() {
      return false;
  })
})(jQuery);
</script>

Open web link when the slider is embedded in an iframe

Question:

I am embedding the slider to my webpage using an iframe:

<iframe width=”1280″ height =”720″ src=”http://mysite.com/slider.html” scrolling=”no” border=”0″ frameborder=”0″ allowfullscreen></iframe>

When I click the slider, the links open inside the iframe small box.

Answer:

In the application, step 1, Add Slides dialog, when you assign the web link to an image, in the bottom Target, choose the value “_top”.

In this way, the web link will be opened in the parent window, rather than inside the iframe.

Accented letters in image filenames of jQuery slider

Question:

Hi I have purchased the license for your product, one slider does not start on my website, however there are other sliders of the page that work. I am editing in dreamweaver.

Any idea what mistake I’m making?

Answer:

There are two sliders on your webpage. I can see the smaller one works fine, but the bigger one does not.

The reason is because there are accented letters in the image filenames of the bigger slider.

To fix the problem of the bigger slider:

Only use numbers 0-9, letters a-z, A-Z, underscores _ and dashes – in the image and video filenames. Do NOT use space, !, &, # and accented letters in the image filenames, especially the accented letters. They will cause problems in some web browsers.

Add web link to slider images

Question:

Hello, I’m interested in using your slider but can you let me know if I can make the images link to different pages on my site please.

Answer:

In Add Slides dialog, after you add your images, click an image and select it, then you can enter your link in the bottom fields.

You can enter a different link for each of your images.