forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 plugins => Topic started by: Ampboy on February 07, 2012, 05:40:46 am

Title: Image Descriptions and timing for cpmfetch
Post by: Ampboy on February 07, 2012, 05:40:46 am
Hello All,

I am using the following code to pull images from a featured gallery... everything is great.
<?php
 include "../gallery/cpmfetch/cpmfetch.php";
$objCpm = new cpm("../gallery/cpmfetch/cpmfetch_config.php");
$options = array( 'imagewidth' => '200', 'imagelink' => 'none');
$objCpm->cpm_viewRandomMediaFromAlbum (1, 1, 1, $options);
$objCpm->cpm_close(); 
?>

Here is what I am using:
cpmFetch version 2.1.1
Coppermine version: 1.5.16

I have two questions... Is there a way to pull the image descriptions? Is there a way to time the random image(such as twice daily, once daily, etc.)?

Thanks for any help
Title: Re: Image Descriptions and timing for cpmfetch
Post by: Ampboy on February 07, 2012, 05:53:23 am
Just upgraded to v1.5.18.. so no longer running 1.5.16

Great upgrade! Thanks