News:

CPG Release 1.6.29
During HTML5 upload, keep pseudo blank code 200 messages from triggering error condition
added Russian language
correct failure to use theme menu icons in album manager
minor vulnerabilities mitigation

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.  :)