forum.coppermine-gallery.net
Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: MLKE on June 11, 2004, 04:49:48 pm
-
first post.. yay!
when i do the batch add process.. the result shows a broken image. but in the album it shows that files exist, but when i open a file, theres nothing there, no description no filename, no file...
????
-
Could you provide a link or some screenshots, please?
-
showthump.php and addpic.php don't work on my Provider (all-inkl.com)
the Mozilla Browser says: Die Grafik "http://www.myserver.de/xyz...picture.jpg&size=48" kann nicht angezeigt werden, weil sie Fehler enthält.
my first solution for that:
in showthumb.php disable the line
require("include/init.inc.php");to
// require("include/init.inc.php");
and paste after
$CONFIG['fullpath'] = "albums/";
here is the path to albums "hardcoded"
and the security if (!GALLERY_ADMIN_MODE)... has no effect!
addpic.php
i replaced this part
if (ob_get_length()) {
ob_end_flush();
exit;
}
header('Content-type: image/gif');
echo fread(fopen($file_name, 'rb'), filesize($file_name));
ob_end_flush()
with
header("LOCATION: ".$file_name);
i hope this helps ...