Question regarding forcing users to always view stuff through cpg Question regarding forcing users to always view stuff through cpg
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Question regarding forcing users to always view stuff through cpg

Started by dke, February 24, 2008, 04:52:53 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dke

Hi,

I have a question regarding if its possible to make users always view stuff through cpg. As for example if someone paste a deep link to my gallerys fullsize picture http://mygallery.com/albums/pictures/landscapes/landscape1.jpg they will be able to view this picture without having to interact with CPG.

Would it be possible with "mod_rewrite" to force users who try accessing the direct full-size to be thrown back to the intermediate page for that image, and have to access it through clicking the intermediate image in cpg?

I know this is probably outside the coppermine support, but i didn't know where i could ask if this was even possible to achieve.

Thanks for the support.



copperminepro

You would need to modify your fullsize pictures to be stored as pid.jpg... so if the pid was 100, it would look like yourgallery.com/albums/pictures/landscapes/100.jpg and than using a rewrite you could force it back to displayimage