Previewing thumbnails outside directory. Previewing thumbnails outside directory.
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Previewing thumbnails outside directory.

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

Previous topic - Next topic

0 Members and 2 Guests 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