Forums

Prevent Image Download as Monotone does (3 posts)

  1. scenicexplorer
    Member
    Posted 11 months ago #

    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!

  2. cuorhome
    Member
    Posted 10 months ago #

    I am working with monotone right now (you can see a version I modified slightly @ http://www.cuorhome.net/heart-images), and it drags and drops as usual. Or it's just me having a Mac?

  3. cuorhome
    Member
    Posted 8 months ago #

    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!

Reply

You must log in to post.

About this Topic