Albums from one user Albums from one user
 

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

Albums from one user

Started by josephineb, February 01, 2009, 01:55:23 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

josephineb

Hi!
Sorry if my English isn't very well...
I want to get te albums from one user on a page. I've already this:
<?php
require_once "./cpmfetch/cpmfetch.php";
$objCpm = new cpm./cpmfetch/cpmfetch_config.php");
$objCpm->cpm_getAlbumListFrom ("owner=test", 1,  3);
$objCpm->cpm_close();

?>


That shows: http://faziel.jgraphics.nl/fotoboek.php, that's right. But it only shows the first image of each album.
I want something like that: http://www.faziel.jgraphics.nl/index.php?cat=10002. (see the attachment).

The albums with the album title in a table...

I'm a cpmFetch newbie, can someone help me?

Thanks before!

josephineb

I can't edit my topic, but there was an error in de code:
require_once "./cpmfetch/cpmfetch.php";
$objCpm = new cpm "./cpmfetch/cpmfetch_config.php");
$objCpm->cpm_getAlbumListFrom ("owner=test", 1,  3);
$objCpm->cpm_close();