One / too much? One / too much?
 

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

One / too much?

Started by sott, February 04, 2007, 02:54:24 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sott

Hi there,

just integrated coppermine-fetch 1.6.4 with the following code

<?php
include "./cpmfetch/cpmfetch.php";
$options = array('imagelink' => 'none');
$objCpm = new cpm("/coppermine");
$objCpm->cpm_viewRandomMedia(1,1,$options);
$objCpm->cpm_close();
?>

Everything works fine but there seems to be an little error, for example:

<img  src="/coppermine//albums/mygallery/thumb_IMG_1224.JPG" alt="IMG_1224.JPG" title="IMG_1224.JPG"  />

So the generated output is "coppermine//" instead of "coppermine/".

Thank you, keep up the good work...

vuud

#1
Quote from: sott on February 04, 2007, 02:54:24 PM
Hi there,

just integrated coppermine-fetch 1.6.4 with the following code

<?php
include "./cpmfetch/cpmfetch.php";
$options = array('imagelink' => 'none');
$objCpm = new cpm("/coppermine");
$objCpm->cpm_viewRandomMedia(1,1,$options);
$objCpm->cpm_close();
?>


Everything works fine but there seems to be an little error, for example:

<img  src="/coppermine//albums/mygallery/thumb_IMG_1224.JPG" alt="IMG_1224.JPG" title="IMG_1224.JPG"  />

So the generated output is "coppermine//" instead of "coppermine/".

Thank you, keep up the good work...
Hi, thanks for reporting this.  Its a known issue that I believe is fixed in the development (soon-in-theory-to-be-released) version.

Forgot why it happens though
Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco