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

Christian Bartolomaeus bartolin at gmx.de
Wed Nov 23 13:30:03 CST 2005


Hi Patrick,

* 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. I search in the
root directory of pmwiki with

  grep -r imagecreatefromgif *

and got only one result (line 57 of pub/chess/chessboard):

  pub/chess/chessboard.php:  $piece = imagecreatefromgif($defaults['pieces']);
  
So, I suspect that there is something missing. Can you give me a hint?

Thanks

Christian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /pipermail/pmwiki-users/attachments/20051123/b6073197/attachment.bin 


More information about the pmwiki-users mailing list