• I’m in the process of creating a child theme for theme I currently use and would like to add a feature that the Monotone theme uses. I have noticed that it does not allow for an image to be dragged and dropped to the desktop or be clicked on to be downloaded. I’m not very skilled with PHP or Javascript (CSS is more my domain) and after looking the the files for the Monotone theme, am not able to figure out what part of the code protects the image.

    I was wondering if someone could help me out by pointing out what part of the php or javascript code for that theme prevents the image from being downloaded?

    Thanks for your help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • I am working with monotone right now (you can see a version I modified slightly @ https://www.cuorhome.net/heart-images), and it drags and drops as usual. Or it’s just me having a Mac?

    Sorry for being so dumb! One of the first things of Monotone I changed was the links over the images (i.e. if you click on the left half of the image it will go to the previous image, and if you click on the right half it will go to the next). That’s why you can’t drag and drop – there’s a layer over the image. So now this should be easy to achieve for a CSS expert!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Prevent Image Download as Monotone does’ is closed to new replies.