Is it possible to change the Thumbnail Directory ? Is it possible to change the Thumbnail Directory ?
 

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

Is it possible to change the Thumbnail Directory ?

Started by rostros, November 09, 2004, 01:12:41 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rostros

This is a very strange question i know and you are probabily thinking why the hell do you need to change the Directory Path.

Well..

I wish to add a .HTACCESS to the albums area, as I wish to use an external membership script rather than using the coppermine users script.

If a .htaccess is added now in the /albums DIR , the site would load, but ! the thumbnails and everything else would not.

If the thumbnails were in a Directory outside of the albums then they would appear and when a Guest trys to click on to view full size the .htaccess will kick in.

Would this be to much work ?

Nibbler

Off the top of my head - change the thumbnail prefix to include a path like thumbnails/thumb_ . I don't know how well that would work though.

rostros

Quote from: Nibbler on November 09, 2004, 01:18:51 PM
Off the top of my head - change the thumbnail prefix to include a path like thumbnails/thumb_ . I don't know how well that would work though.

I can give it a try, Can i put the full unix path into this area, as I need to store the thumbnails outside of the albums area, what you have suggested above would look like this


rostros

Yes i was thinking of try that but i have realised that if you have an .htaccess file in the root folder of albums, then even if the thumbnails folder was setup like albums/thumbnails , the .htaccess file would still kick in, i would require to put the thumnails outside of the albums directory , would a full unix path like /home/rostros/public_html/gallery/thumbnails work ?

The other way i could do this is change the thumbnail format ext to .gif and allow the .htaccess to show .gif and block .jpg ?

any help would be appricated

Nibbler

Put a second .htaccess file into the thumbnails directory to override the first one. Full unix paths won't work, it has to be url based.

Joachim Müller

[moderation, off topic]
@rostros: this is not a feature request, but a request for support. It shouldn't have gone into the "feature requests" board in the first place. Please post what coppermine version you are using, so we can move it to the proper support board.

Joachim
[/moderation]