You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 9, 2024. It is now read-only.
However, the /download_image endpoint should accept a new parameter called variant, this way a new $board object can be created accordingly to be then passed to Chess\Player\PgnPlayer.
For further information on how a $board is initialized please visit:
There is an easy quick way to get the API up and running without an SSL certificate for when testing endpoints that don't require a database connection, e.g., api/download_image or api/download_mp4. In such cases you may want to use PHP's built-in web server.
Keep it up, and happy coding and learning!
The text was updated successfully, but these errors were encountered:
At this moment, src/Controller/DownloadImageController.php doesn't allow to download screenshots of Capablanca chess games as shown in the animation below.
However, the
/download_image
endpoint should accept a new parameter calledvariant
, this way a new$board
object can be created accordingly to be then passed to Chess\Player\PgnPlayer.For further information on how a
$board
is initialized please visit:This issue is quite similar to the following one which has been solved already:
Remember:
Keep it up, and happy coding and learning!
The text was updated successfully, but these errors were encountered: