Batch add - broken image Batch add - broken image
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Batch add - broken image

Started by MLKE, June 11, 2004, 04:49:48 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MLKE

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...

????

hyperion

Could you provide a link or some screenshots, please?
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

p.s.b

#2
showthump.php and addpic.php don't work on my Provider (all-inkl.com)

the Mozilla Browser says:  
QuoteDie 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 ...