Advanced search  

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

Pages: [1]   Go Down

Author Topic: Batch add - broken image  (Read 5940 times)

0 Members and 1 Guest are viewing this topic.

MLKE

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 27
Batch add - broken image
« 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...

????
« Last Edit: June 11, 2004, 07:39:08 pm by hyperion »
Logged

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
Re: Batch add - broken image
« Reply #1 on: June 11, 2004, 07:40:06 pm »

Could you provide a link or some screenshots, please?
Logged
"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://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

p.s.b

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Batch add - broken image
« Reply #2 on: June 18, 2004, 09:20:21 am »

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

the Mozilla Browser says:  
Quote
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
Code: [Select]
require("include/init.inc.php");to
Code: [Select]
// require("include/init.inc.php");
and paste after
Code: [Select]
$CONFIG['fullpath'] = "albums/";
here is the path to albums "hardcoded"
and  the security
Code: [Select]
if (!GALLERY_ADMIN_MODE)... has no effect!

addpic.php

i replaced this part
Code: [Select]
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
Code: [Select]
header("LOCATION: ".$file_name);
i hope this helps ...
« Last Edit: June 18, 2004, 01:51:45 pm by p.s.b »
Logged
Pages: [1]   Go Up
 

Page created in 0.026 seconds with 20 queries.