-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AMP support: show static image #143
Comments
Hi, What do you mean by "a static image"? A PNG image held on the server-side, maybe to have it served from a CDN? This would require to generate the chessboard images on the server-side, thus refactor all the FEN parsing and board generation code, which is currently executed on the client-side. I'm reluctant to implement two (or even more) different rendering processes for the chessboard, because of the additional maintenance and testing effort would not be sustainable. |
Yes, something would have to be generated on the server side. You could use or create a third-party service that transforms chess boards to PNGs, like this one for math: |
On AMP pages, show a static image for chessboard images:
The text was updated successfully, but these errors were encountered: