Previewing thumbnails outside directory. Previewing thumbnails outside directory.
 

News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

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