Image Display - Remove click for download

When you have image displayed on screen and click again you are offered the option to open or save.

I'd like to remove that option please.

Could somebody give me a clue what needs to be edited.

Thanks.

Comments

  • acrylian Administrator, Developer
    You probably should try the nightly build.
  • In it (the nightly build) there is an option as to whether you want this behavior or not.
  • But is there any other way to remove it? I'm afraid of this unstable version..:>
  • So, you want to make your own change? Look at full-image.php

    delete the line that says ` header('Content-Disposition: attachment; filename="' . $_zp_current_image->name . '"');`

    By and large, the nightly build is more stable than release 1.1.3 since it has a lot of fixes in it. There will occasionally be a bad one, that's the risk. However right now that is not the case. Give it a try.
  • sbillard:<quote>By and large, the nightly build is more stable than release 1.1.3 since it has a lot of fixes in it. There will occasionally be a bad one, that's the risk. However right now that is not the case. Give it a try.</quote>
    I think you've just stated a good criterion for when a nightly build should be promoted to a minor numbered bugfix release. Not all numbered releases need a big fanfare or new functionality, but there are repeated posts here about the same bugs in 1.1.3 and I don't think telling each person to chance the latest nightly build is really acceptable.
  • It is the nature of software that there will be bugs. If you aren't experiencing any it is just that you haven't found it yet.

    If we take your tact, we would have a new minor release every day. We will wait until there are sufficient changes to warrent a new minor release. Right now we anticipate that will be February 1. In the mean time, you can use the last release or you can use the nightly build. It is entirely up to you. But, you must remember, it is impossible for us to retroactively fix bugs in the already released release. So, if you have a problem for which there is a fix you either have to live with it or run the nightly build.
Sign In or Register to comment.