News:

CPG Release 1.6.29
During HTML5 upload, keep pseudo blank code 200 messages from triggering error condition
added Russian language
correct failure to use theme menu icons in album manager
minor vulnerabilities mitigation

Main Menu

Image Descriptions and timing for cpmfetch

Started by Ampboy, February 07, 2012, 05:40:46 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Ampboy

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

Ampboy

Just upgraded to v1.5.18.. so no longer running 1.5.16

Great upgrade! Thanks