Last Album with Cpmfetch Last Album with Cpmfetch
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Last Album with Cpmfetch

Started by Coline, March 04, 2009, 08:09:52 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Coline

hi,
i would like to put on my site the last album upload. Now i have the last pics (so 4 pics in the same album) . I have cpmfetch on my gallery and on my site.
I search in the forum but i didn't find anythings.
My Site : http://www.avrilspirit.com/
My Gallery: http://www.avrilspirit.com/gallery/
My version is Coppermine Photo Gallery 1.4.20 (stable) and i have the modded by stramm.

my code is :

<?php
include "./gallery/cpmfetch/cpmfetch.php";
$objCpm = new cpm("./gallery/cpmfetch/cpmfetch_config.php");
$objCpm->cpm_viewLastAddedMedia(2,2);
$options = array( 'windowtarget' => '_blank');
$objCpm->cpm_close(); 
?>


Sorry for my bad english but i'm french ;)

thanks for helping.

Coline


Pascal YAP

Please explain your solution to other Coppermine Users  ;)
Thanx

Coline

My code is :

<?php
include "./gallery/cpmfetch/cpmfetch.php";
$objCpm = new cpm("./gallery/cpmfetch/cpmfetch_config.php");
$objCpm-> cpm_viewLastUpdatedAlbumsFrom (0,3,1);
$options = array( 'windowtarget' => '_blank');
$objCpm->cpm_close(); ?>



And this is the result : http://www.avrilspirit.com/