Hi. I'm new to this board and to Coppermine Gallery. I was playing around with Coppermine to see what it can do besides adding a photo/video galleries. One thing I like about it is that you can install plugins like this one, Fullsize Access, where unregistered users are limited for Fullsize download.
Now here's my problem...
I think I may had successfully installed Coppermine and the Fullsize Access plugin. After reading all the posts from this thread and followed all instructions (I think?), the plugin seem to function alright. It doesn't give me errors when "Download Original File" or "Secure File" is clicked. There is one problem, I am able download and save the file/image, however, I am unable to view it on my computer. I tried different programs to open it but only Photoshop seemed to work. I used mainly Preview (Mac) for viewing image files. If I try to open it using Preview, a pop-up message will say "Couldn’t open the file. It may be corrupt or a file format that Preview doesn’t recognize." When I download the image using a FTP client, I can successfully see it using Preview, only this Plugin seems to be the problem. I need help in successfully installing it.
I know very little of PHP so here's what I have so far...
Original fullsize_secure.php
<?php
// this file must be edited before use!
////////////////////// section to edit
// edit ftp user/host data here:
// edit ftp user/host data here:
//$ftp_server = "ftp.myhost.de";
//$ftp_user_name = "me";
//$ftp_user_pass = "hello";
require_once('c:/webserver/files/inc/schwarzburgland.init.php');
$ftp_server = $SLCONFIG['ftp_server'];
$ftp_user_name = $SLCONFIG['ftp_user_name'];
$ftp_user_pass = $SLCONFIG['ftp_user_pass'];
$ftppath_to_cpg = "html/images2/";
/*
require_once('/home/www/web294/files/inc/schwarzburgland.init.php');
//require_once('c:/webserver/files/inc/schwarzburgland.init.php');
$ftp_server = $SLCONFIG['ftp_server'];
$ftp_user_name = $SLCONFIG['ftp_user_name'];
$ftp_user_pass = $SLCONFIG['ftp_user_pass'];
$ftppath_to_cpg = "html/images2/";
*/
// this is the path to your cpg dir starting from your home page root (what the ftp sees by default) :
////////////////////// end section to edit
Edited fullsize_secure.php
<?php
// this file must be edited before use!
////////////////////// section to edit
// edit ftp user/host data here:
// edit ftp user/host data here:
//$ftp_server = "ftp.myhost.de";
//$ftp_user_name = "me";
//$ftp_user_pass = "hello";
//require_once('home/flappitty/public_html/iphoto.mooo.com/include/init.inc.php');
$ftp_server = 'ftp.iphoto.mooo.com';
$ftp_user_name = 'flappitty';
$ftp_user_pass = 'mypassword';
$ftppath_to_cpg = "iphoto.mooo.com/";
/*
require_once('/home/www/web294/files/inc/schwarzburgland.init.php');
//require_once('c:/webserver/files/inc/schwarzburgland.init.php');
$ftp_server = $SLCONFIG['ftp_server'];
$ftp_user_name = $SLCONFIG['ftp_user_name'];
$ftp_user_pass = $SLCONFIG['ftp_user_pass'];
$ftppath_to_cpg = "html/images2/";
*/
// this is the path to your cpg dir starting from your home page root (what the ftp sees by default) :
////////////////////// end section to edit
I also edited the jpgdownload.php like Nibller suggested but I replaced it back to the original version because it didn't work.
Please indicate what needs to corrected.
I want to successfully integrate both Coppermine and Fullsize Plug-in before I can run the whole website so please help.
I appreciate all help. Thank you.