Previewing thumbnails outside directory. Previewing thumbnails outside 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

Previewing thumbnails outside directory.

Started by sunsuron, June 22, 2004, 08:42:44 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sunsuron

Hello all.

I have coppermine installed in http://www.mydomain.com/coppermine/ and
my index at http://www.mydomain.com/main/

Is it possible that I can preview some thumbnails from /coppermine/ folder to my /main/index.php for example, showing
last addition of photos in /main/index.php

FYI: I have modified index.php, displayimage.php, search.php and thumbnails.php so that only registered user can view the /coppermine/ directory using method:

if (USER_ID){

} else {
{
  $redirect = $redirect . "login.php";
      header("Location: $redirect");

  exit();
}}

Casper

It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here