Capture settings
After a Token is minted, Genify Server generates a screenshot for each Token to be displayed on the website. The screenshot is created by capturing the browser's view of the token URL. To ensure your work is well-presented on the website, you should pay attention to its rendering performance in the browser, as well as rendering duration and viewport size. Consider the following recommendations:
Eliminate any gaps between the drawing area (e.g., canvas) and the body by setting padding and margin to 0.
Handle the OnSize event to ensure rendering isn't affected when the window size changes.
Use Chrome's developer tools to test appropriate viewport sizes.
If you know exactly when your work finishes rendering, call
Genify.renderDone()
to actively set the status upon completion.Optimize image and resource loading: Use appropriate compression methods and formats to reduce loading time and bandwidth consumption. Consider using WebP or other modern image formats.
Genify Demo Project
Last updated