ChessImager

Steve on Dec 2nd 2006

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

Also take a look at the sub pages.

3 responses so far

3 Responses to “ChessImager”

  1. Generare diagrammi da posizioni FEN | hilpers Jan 18th 2009 at 08:34 am 1

    [...] un tool per generare immagini di posizioni di scacchi a partire dalla posizione in formato FEN. http://www.eddins.net/steve/chess/chessimager Molto versatile, un sacco di opzioni, e consente di linkare immagini direttamente dal loro sito, [...]

  2. Chris Jun 10th 2009 at 12:17 pm 2

    Thanks for this utility! It’s the best I’ve seen of its kind.

    I would love to have a form with all the parameters on one page. Then we could fill in what we want and have the form generate the url.

  3. Steve Jun 10th 2009 at 01:07 pm 3

    Chris, thanks for your comment. I agree that such a form would be nice. I’ll think about how to do it.

Trackback URI | Comments RSS

Leave a Reply