Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Random pics from a specific category  (Read 2336 times)

0 Members and 1 Guest are viewing this topic.

onuzu

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 34
Random pics from a specific category
« on: April 06, 2008, 02:15:26 pm »

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.
Logged

slausen

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 67
Re: Random pics from a specific category
« Reply #1 on: April 06, 2008, 04:31:15 pm »

You can do this with the CPMFetch mod, I believe: http://forum.coppermine-gallery.net/index.php/topic,35450.0.html
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Random pics from a specific category
« Reply #2 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.
Logged

slausen

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 67
Re: Random pics from a specific category
« Reply #3 on: April 06, 2008, 11:04:03 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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Random pics from a specific category
« Reply #4 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.
Logged

slausen

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 67
Re: Random pics from a specific category
« Reply #5 on: April 07, 2008, 07:33:22 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.
Logged

slausen

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 67
Re: Random pics from a specific category
« Reply #6 on: April 16, 2008, 12:01:22 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.  :)
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 20 queries.