splitbrain/dokuwiki-plugin-gallery — Issue #18: [BugFix] show single files
Author: kibi
Created: 2011-11-04 15:35:01+00:00
State: open

I've found a little but annoying mistake, that prevents from show single images -

{{gallery>:someimage.jpg }}

Workaround is:

{{gallery>:?someimage.jpg* }}

And the fix is following - in syntax.php, at line 256 change

if($data['single']) return $files;

to

if($data['_single']) return $files;