Random pics from a specific category Random pics from a specific category
 

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

Random pics from a specific category

Started by onuzu, April 06, 2008, 02:15:26 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

onuzu

Hi all, I need your help. I want my gallery to display random images from a specific category on the main page just like it displays most view, last edited albums, last view, etc.

You can see my gallery at http://lurrenzinc.com/photos

I want the random images from the category at http://lurrenzinc.com/photos/index.php?cat=3

Thanks in advance.

slausen


Joachim Müller

You can't use cpmFetch on Coppermine-driven pages. CpmFetch is meant for non-coppermine-driven pages.

slausen

Quote from: Joachim Müller on April 06, 2008, 06:11:57 PM
You can't use cpmFetch on Coppermine-driven pages. CpmFetch is meant for non-coppermine-driven pages.

Is there a way to do this within coppermine? I am curious also.

Joachim Müller

Take a look at the index page, the section where the random meta album get's defined. You can probably set it to a specific category there.

slausen

Quote from: Joachim Müller on April 07, 2008, 07:23:04 AM
Take a look at the index page, the section where the random meta album get's defined. You can probably set it to a specific category there.

Thanks for this info.

slausen

Quote from: Joachim Müller on April 06, 2008, 06:11:57 PM
You can't use cpmFetch on Coppermine-driven pages. CpmFetch is meant for non-coppermine-driven pages.

I have been playing around with cpmFetch, and actually, even though it may have been originally designed for non-coppermine pages, it will work on coppermine pages as well.

It is a great mod.  :)