Image Descriptions and timing for cpmfetch Image Descriptions and timing for cpmfetch
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

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