show files in order show files in order
 

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]

Main Menu

show files in order

Started by saintmic, May 07, 2007, 12:52:20 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

saintmic

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

vuud

I am not sure you can...

You can set the preferred image for each album though... that should work.
Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

saintmic

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.

vuud

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?

Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

saintmic

yeah, i think thats right. So I can try FirstAddedmedia?

saintmic

just tried FirstAddedMedia and it didnt work out - wrong combination of words?