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

Martin Fick fick at fgm.com
Wed Nov 23 13:30:20 CST 2005


On Wed, Nov 23, 2005 at 01:27:23PM -0600, Patrick R. Michaud wrote:
> On Wed, Nov 23, 2005 at 08:30:03PM +0100, Christian Bartolomaeus wrote:
> > * On 2005-11-23 Patrick R. Michaud (pmichaud at pobox.com) wrote:
> > > [...]
> > > It's cleaned up and available at
> > > 
> > >     http://www.pmwiki.org/wiki/Cookbook/ChessMarkup
> > > 
> > > Let me know how it works out
> > 
> > maybe I messed something up, but the recipe doesn't work in my local
> > installation of PmWiki.
> > 
> > I upgraded to 2.1.beta2 and installed the recipe as described on
> > Cookbook/ChessMarkup. But inserting
> > 
> >   Chessboard:r1bqkbnr/pppp1ppp/2n5/1B2p3/4P3/5N2/PPPP1PPP/RNBQK2R&t=.gif
> > 
> > into a WikiPage had no effect at all.
> > 
> > I had a closer look at chessboard.php and it seems to me that at least
> > the function "imagecreatefromgif()" is not defined. 
> 
> imagecreatefromgif() is a built-in PHP function, see
> http://www.php.net/imagecreatefromgif
> 
> It's possible that your installation of PHP doesn't have this
> function included.  If not, then I'll see if I can switch to using
> imagecreatefrompng() instead.


Specifically, you need the PHP GD libraries compiled in.

-Martin




More information about the pmwiki-users mailing list