magdiagramsize = 19 | 24 | 29 | 35
default: 29

The magdiagramsize command is used to set the size of the piece images to be used by Palview when generating a diagram in a magazine. The actual magdiagramsize number refers to the width and height of each piece image in pixels. By default, this size is always 29, which produces a comfortable board to look at.

Actual diagrams are inserted into the magazine page using the diagram insertion command. For instance, if you wished to insert the initial position into your page, you would use:

<!-- palview diagram rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR -->

The magdiagramsize command was created in order to allow webmasters to alter the size of diagrams in their magazines dynamically using the Palview4 magazine command. For example, you could change the size of all diagrams to be inserted into your magazine with:

<!-- palview command magdiagramsize = 24 -->

All subsequent diagrams will be created using the new magdiagramsize. For more information regarding magazine diagrams and sizes, please see the section The Magazine Page.