coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 cpmFetch by vuud => Topic started by: saintmic on May 07, 2007, 12:52:20 PM

Title: show files in order
Post by: saintmic on May 07, 2007, 12:52:20 PM
Hi.

I've been dabbling round with this for a while and cant seem to find the right order of words to make what i want. I have a site which - on the front page - has links to 3 or 4 different albums. What i would like is that the images it displays for each album are the first images IN the album:

For example, if there are 100 pictures, rather than just showing 6 random ones, or the last 6 I put on, i would like it to show the images that it calls 1/100, 2/100, 3/100 etc.

What do I need to replace the "..." with in $objCpm->cpm_view...(1,6); to get this?

Thanks for your help,
Mic
Title: Re: show files in order
Post by: vuud on May 07, 2007, 04:12:35 PM
I am not sure you can...

You can set the preferred image for each album though... that should work.
Title: Re: show files in order
Post by: saintmic on May 12, 2007, 10:59:47 AM
hiya,

Trouble is, that will only give me one picture, rather than the 3-6 that I need.

If it cant be done then it cant be done - I'll cope:)

Thanks for the help.
Title: Re: show files in order
Post by: vuud on May 24, 2007, 05:27:39 AM
Quote from: saintmic on May 12, 2007, 10:59:47 AM
hiya,

Trouble is, that will only give me one picture, rather than the 3-6 that I need.

If it cant be done then it cant be done - I'll cope:)

Thanks for the help.

So you want...

album1 pic 1, album 1 pic 2, album 1 pic 3

album2 pic 1, album 2 pic 2, album 2 pic 3

etc... ?

So instead of last added you want first added?

Title: Re: show files in order
Post by: saintmic on May 30, 2007, 02:07:03 PM
yeah, i think thats right. So I can try FirstAddedmedia?
Title: Re: show files in order
Post by: saintmic on May 30, 2007, 02:09:53 PM
just tried FirstAddedMedia and it didnt work out - wrong combination of words?