[pmwiki-users] Defining and displaying chess diagrams in WikiPages

Martin Fick fick at fgm.com
Wed Nov 23 14:14:10 CST 2005


On Wed, Nov 23, 2005 at 02:07:33PM -0600, Patrick R. Michaud wrote:
> On Wed, Nov 23, 2005 at 01:58:43PM -0600, Patrick R. Michaud wrote:
> > 
> > An easy way to check is to set $EnableDiag=1; in your config.php
> > file, then run ?action=phpinfo, and see if there's a "gd" section
> > and which fileformats are enabled.
> 
> Another option might be to generate the chessboard as an HTML table
> (with each cell containing a single image) instead of creating 
> a single image for the entire board.  This might also present
> less load for the server-- I'll see about doing that.

That's what the OCC stuff does, it's all javascript though.
You then can use the cell background colors to create the board.
It would be neat if it actually generated wiki table markup!

-Martin




More information about the pmwiki-users mailing list