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

Patrick R. Michaud pmichaud at pobox.com
Wed Nov 23 13:27:23 CST 2005


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.

Is there a url I could look at?

Pm




More information about the pmwiki-users mailing list