Posted by Steve on the 2nd of December, 2006 at 10:13 pm.  This post has no comments.

ChessImager makes it easy for you to add a chess board diagram to your blog or other web page. All you have to do is insert an image link with a special URL that contains the chess position information. The URL runs a script that generates the image for you dynamically. You no longer have to generate the diagram using chess software, save the diagram as an image, and upload the image to your site.

Here’s a simple example to get you started. This URL makes an image containing a simple tactics problem.

http://www.eddins.net/steve/chess/ChessImager/ChessImager.php?fen=
5N1k/6p1/7p/4P3/pp2Q3/4q3/1P4PP/2b4K/

(You should put the above URL on one line, with no spaces.) To include the dynamically generated image on your blog or web page, just put the URL above into an IMG tag, like this:

<img src="http://www.eddins.net/steve/chess/ChessImager/ChessImager.php?fen=
5N1k/6p1/7p/4P3/pp2Q3/4q3/1P4PP/2b4K/">

And here’s what the diagram looks like:

5N1k/6p1/7p/4P3/pp2Q3/4q3/1P4PP/2b4K/
White to move and win

If you are familiar with the chess position notation (called Forsyth Edwards Notation, or FEN), then you should have enough information to make your own diagrams. If you’d like a brief explanation of FEN, then follow this link.

Additional information about ChessImager



* Required