[pmwiki-users] New easy gallery using pagelists, trails and a custom PageStore
jens.schiffler at gmx.de
Sun Sep 17 19:06:36 CDT 2006
** Reply to message from Stefan Schimanski <sts at 1stein.org> on Sat, 16 Sep 2006
> I moved the thumb stuff into WikiGalleryThumb($path,$size). So if you
> find a good thumb script which works for you, just overwrite this
> function (after including wikigallery.php in you config.php). $size will
> be the width or 0 for the original size of the picture.
Thanks but this is bound to fail: php doesn't allow redeclaration of a global
function. Could you turn "WikiGalleryThumb" into a class function, or - perhaps
more pmwiki like - use a function variable that points to WikiGalleryThumb by
I'd like to include support for WikiGallery in my set of CMS-plugins, JjsCMS,
JjsPageRev, JjsApprovePage and JjsIterator.
Currently the integration is based on a little wrapper class for
GalleryPageStore that delivers the needed extra page attributes and overrides
the "ls" function.
Since the output of JjsCms should be useful without a server, JjsCMS must
rewrite the picture urls to static urls. It seems overriding the
"WikiGalleryThumb" function would be a good way for doing so.
More information about the pmwiki-users