Link to download individual image

Hi there,

I'm looking to see if it's possible to have a link published to download the individual image. Not view it full size, but to instead initiate the download of the image for the user. This way they don't have to right click->save target as.

I saw printDownloadLink() but understand that's not designed to be used to download individual images.

Any other method I can use?

Thanks

Comments

  • Okay, I have to admit, I'm a bit new at zenphoto. I changed my image protection to Download. I then created a href pointing to html_encode(getFullImageURL());.

    That seems to have done it.
  • acrylian Administrator, Developer
    Yes, but the downloadlink plugin would also be possible. The difference would be that it counts the download and "masks" the url to download.
  • I like the sounds of that better to be honest, but I couldn't get it to work. Can you post a sample code on how I could achieve that?
Sign In or Register to comment.