Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Albums from one user  (Read 4232 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.024 seconds with 21 queries.