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

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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