Have random display choose from a predefined selection of pictures? Have random display choose from a predefined selection of pictures?
 

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

Have random display choose from a predefined selection of pictures?

Started by rap.nospam, July 26, 2007, 08:42:54 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rap.nospam

Hi again guys,

I have a second question, that is that I would like to have the random feature on my main page but would like it not choose from all pictures in the gallery but from a predefined set. E.g. by giving a special keyword to pictures that would be eligible for random display.

Any ideas if this can be realized and where to start?

Thanks and regards, Robert

Nibbler

I think there is a mod or plugin for this; search the board.

Joachim Müller

unwanted_metas 2.1 prevents certain albums from displaying in the meta albums. is the thread Nibbler refered to. This plugin goes unsupported here. If you need support for it, refer to the forum that donnoman refers to in the announcement thread.

rap.nospam

Hi Guys,

Thanks again for the prompt reply. I wanted to have that on a per-picture base and after Nibblers advice for changing functions.inc.php regarding my last question I also did the same here and added a check for a keyword "Random" in the SELECT that chooses the random pictures there. Works fine. :-)

Regards, Robert