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