ZenphotoCMS Forum
Image Display - Remove click for download - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Image Display - Remove click for download (/thread-2026.html)



Image Display - Remove click for download - mandarin - 2008-01-03

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.




Image Display - Remove click for download - acrylian - 2008-01-03

You probably should try the nightly build.




Image Display - Remove click for download - sbillard - 2008-01-03

In it (the nightly build) there is an option as to whether you want this behavior or not.




Image Display - Remove click for download - Lanooz - 2008-01-14

But is there any other way to remove it? I'm afraid of this unstable version..:>




Image Display - Remove click for download - sbillard - 2008-01-14

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.




Image Display - Remove click for download - jlang - 2008-01-15

sbillard: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.
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.




Image Display - Remove click for download - sbillard - 2008-01-15

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.