Is cpm_getAlbumListFrom buggy? Does not return all images. Is cpm_getAlbumListFrom buggy? Does not return all images.
 

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

Is cpm_getAlbumListFrom buggy? Does not return all images.

Started by baerlichkeit, February 26, 2008, 01:46:43 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

baerlichkeit

Hi,
the search did not help me, or I did not search with the right terms...

I have a problem here. For my Fullscreen viewer i need to get a list of all images in an album.

What works:
calculating image count of the album
$count = $objCpm->cpm_getMediaCountForAlbum($album);
and than retrieving all images with
$objCpm->cpm_viewLastAddedMediaFrom("album=3",$count,1)

My problem:
if I use the getAlbumListFrom function (perhaps I use it the wrong way?) it returns only the first image. Even if I use "" as source, it displays the first image of each album.
$objCpm->cpm_getAlbumListFrom("",10,10,)
The walk around above works for me, but i really don't understand, what's wrong here. Do I have to add any options? I thought no, because i use the resultset.

Thanks for your help
Andreas

baerlichkeit

Ok,
next time I will think before posting  :-X

QuoteGenerates a list of Albums based

It generates a list of albums, not of images... :(

Andreas