
Use at your own risk! It may have publicly disclosed vulnerabilities.
This project is not covered by the security advisory policy. Created by malcolmp on 2 February 2012, updated 2 December 2014. - this isn't a module, but it describes a way of using the pgn4web viewer. Advantages are greater flexibility, for example chess games could be inserted into a forum post. Also some of my pgn files didn't work in it where as they do in ltpgn. Possibly less user friendly from the end user point of view, and it does not show annotations. Its a different approach with pros and cons. - which wraps the chess tempo viewer, providing a new input filter. Users with "chess pgn admin" can modify settings, such as the IFrame size. Users with "chess pgn game" permission can create "Chess PGN Game" nodes. Install the libaries api module ( ), and this module. Installation Instructionsĭownload Ltpgn viewer from and unpack into sites/all/libraries/ltpgnviewer. Users with appropriate permissions can upload a pgn format file, creating a PGN Node so that the game can be played through on the screen using the viewer. The aim is to provide administrators a way of letting users upload their own chess games without having to do any programming. It is a convenience wrapper for the Ltpgn viewer by Lutz Tautenhahn ( ). Of course you can combine both options, for example set turn=black and pov=black.This module that provides a content type for viewing chess games in Which generates the following image: Combining options This makes the image being shown from the specified player's point of view.įor our example FEN and Black's point of view, the URL becomes: b KQkq - 0 1?pov=black The choices are white and black and the default is white when not provided.
You can include the pov query string parameter to specify the point of view, in other words, the orientation of the board. Which generates the following image: Specify board orientation This adds either White to play or Black to play text in the bottom left corner of the image.įor our example FEN and Black's turn, the URL becomes: b KQkq - 0 1?turn=black You can include the turn query string parameter to specify the turn. Paste a game PGN to get a browsable replay, computer analysis, game chat and shareable URL. This generates the following image: Specify whose turn is it to played Which for our example FEN correspondents to: b KQkq - 0 1 To generate an image for this FEN, simply use the FEN in the URL using the following pattern: