forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 cpmFetch by vuud => Topic started by: mottaguedes on August 29, 2006, 12:03:46 pm

Title: Getting images from latest 4 albums
Post by: mottaguedes on August 29, 2006, 12:03:46 pm
Hello all!

I've configured cpmfetch successfully in my website's home page to get photos from the CPG.

What I'd like to do now is to use it to get one phot from each of the last 4 created albums for example.

Does anyone have any idea about this? I can't seem to find the correct function.

PS: Vuud, this is an awesome tool! Thanks! :)
Title: Re: Getting images from latest 4 albums
Post by: vuud on August 29, 2006, 05:58:47 pm
Hello all!

I've configured cpmfetch successfully in my website's home page to get photos from the CPG.

What I'd like to do now is to use it to get one phot from each of the last 4 created albums for example.

Does anyone have any idea about this? I can't seem to find the correct function.

PS: Vuud, this is an awesome tool! Thanks! :)

The last 4 created albums?  Or the last 4 updated albums?

I think I looked into the created... but I am not sure CPG tracks the creation date... I could probably guess from the album numbers, but have to scrutinize that further... 

Title: Re: Getting images from latest 4 albums
Post by: mottaguedes on August 29, 2006, 06:02:13 pm
Hummm...

I guess updated would do it. :)

Is that possible? It would be a great help!

Thank you very much!
Title: Re: Getting images from latest 4 albums
Post by: vuud on August 31, 2006, 12:48:26 am
Hummm...

I guess updated would do it. :)

Is that possible? It would be a great help!

Thank you very much!

If you can do some php, you can probably do something to mash together examples from this page...

http://www.fistfullofcode.com/projects/copperminefetch/tests/test6.php

If not, let me know and I will put it on my list of things to do...

Vuud
Title: Re: Getting images from latest 4 albums
Post by: mottaguedes on August 31, 2006, 10:04:59 am
Hey Vuud,

thanks for your time on this.

I won't be able to check this out for a couple days. I'll post my results here as soon as tested this.

Thanks!!!!