Not logged in. · Lost password · Register
Forum: General Help and Support Plugins Plugin Wishlist RSS
Gallery plugin - random image select
Avatar
marazmus #1
Member since Sep 2008 · 16 posts
Group memberships: Members
Show profile · Link to this post
Subject: Gallery plugin - random image select
Hello. Can you add some new functionality to Gallery plugin? I need to random image block like many popular CMS can do, but there is no way to do this in Doku. I think "random" option in Gallery plugin may be very helpful. Thank you :)
Avatar
andi (Administrator) #2
Member since May 2006 · 1620 posts · Location: Berlin Germany
Group memberships: Administrators, Members
Show profile · Link to this post
check the newest release
Read this if you don't get any useful answers.
Lies dies wenn du keine hilfreichen Antworten bekommst.
Avatar
marazmus #3
Member since Sep 2008 · 16 posts
Group memberships: Members
Show profile · Link to this post
Quote by andi on 2008-12-19, 03:10:
check the newest release

Thank you very much, Andi :)

But there is problem.

{{gallery>:test?random&nocache&1}}

I think, this code might show 1 random image. But it shows 3 galleries by 1 image, row by row :) (there is 3 images in "test" gallery). How can we fix it? Thank you again.
Avatar
energia #4
Member since May 2009 · 1 post · Location: Rzeszów/Poland
Group memberships: Members
Show profile · Link to this post
Hi

try something like this:

{{gallery>namespace:?*.jpg&120x120&1&lightbox&=1&random&nocache}}

It will show you one 120x120, random, clickable thumbnail...

Best regards,
Piotrek
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please note the verification code from the picture into the text field next to it.
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20090606-dev, © 2003-8 by Yves Goergen
Current time: 2010-03-20, 11:46:30 (UTC +01:00)
WikiForumIRCBugsGitXRefTranslate