Albums from one user Albums from one user
 

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

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();