Hello
How I can display only the random images from one album on the frontpage?
case 'random':
if ($cat == 0) display_thumbnails('random', $cat, 1, $CONFIG['thumbcols'], max(1, $matches[2]), false);
flush();
break;
is there the code or what other...?
pls help
Yes. The code that you have found is simply telling coppermine to activate the "Random" section on the front page. You will need to find the code for calling up the images. Probebly the simplest way to make it for one album only would to add. WHERE aid= the id of the album to the database query.
The frontpage of what? Your site or coppermine?
If it's the frontpage of your site take a look at cpmfetch by vuud.
http://cpmfetch.fistfullofcode.com/
on the frontpage from the coppermine gallery..
thx both
just some guy ..im noob in the php...in which database query i must take it in?
You could try this plugin.
http://forum.coppermine-gallery.net/index.php?topic=38999.0
wow..nice thx!