Advanced search  

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

Pages: [1]   Go Down

Author Topic: Albums from one user  (Read 4231 times)

0 Members and 1 Guest are viewing this topic.

josephineb

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Albums from one user
« on: February 01, 2009, 01:55:23 pm »

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:
Code: [Select]
<?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!
Logged

josephineb

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Albums from one user
« Reply #1 on: February 01, 2009, 01:56:58 pm »

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

Page created in 0.025 seconds with 19 queries.