forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: jcalvert on April 04, 2009, 08:16:04 pm

Title: How can I disable the FULLSIZE image being displayed
Post by: jcalvert on April 04, 2009, 08:16:04 pm
First, I am new to Coppermine but have read most of the docs. and searched the FAQs on this.

I am in a photography club where some members do not like the fact that the FULLSIZE image can be displayed (and then copied) when we click on the intermediate size image.  How can I disable the displaying of FULLSIZE images.

I suspect a hack to displayimage.php might work but don't want to start messing it up.
I hope there is a simple option to turn off somewhere.

Thanks
Jim Calvert



Title: Re: How can I disable the FULLSIZE image being displayed
Post by: Fabricio Ferrero on April 04, 2009, 08:37:34 pm
Set the normal and full size pictures with the same values and that will do the trick ;)
Title: Re: How can I disable the FULLSIZE image being displayed
Post by: jcalvert on April 04, 2009, 10:15:22 pm
Set the normal and full size pictures with the same values and that will do the trick ;)
Thanks for the note but I may not understand where/how you mean this to happen.
Are you suggesting that I resize all of the fullsize images currently in the Albums down to the intermediate size.

or, do you mean there is an option in the Configuration section of the Gallery to do this.  If so , I cannot find anything there to resize all the full size images.

Please explain further.
Thanks
Jim Calvert
Title: Re: How can I disable the FULLSIZE image being displayed
Post by: Joachim Müller on April 06, 2009, 09:11:19 am
Let's say that the max size your visitor should be able to see is 800 pixels. Then go to coppermine's config and set

After applying those settings and testing them by uploading some new pics, you need to apply those settings for the existing pics as well: go to admin tools in coppermine's admin menu and choose "Update thumbs and/or resized photos" with "Both thumbnails and resized pictures" and loop through all files in your database.

Above mentioned settings are the most efficient ones, as they safe as much file space as possible and make it impossible for visitors to get the full-sized images in larger resolutions. Just keeping everything as it is right now and just disabling the link from intermediate (embedded) image to the full-size pop-up is technically possible as well but can easily be circumvented by visitors who know their way around.
Title: Re: How can I disable the FULLSIZE image being displayed
Post by: jcalvert on April 06, 2009, 03:16:38 pm
Thank you Joachim,
This is a very positive solution.  I was hoping to not have to resize all the existing images but that's life and there is the utility to do it.

Thanks again
Jim Calvert