This release completes the foundations for page image caching, and adds an automatic image conversion handler to the page node. This means that it's now possible to use images in any format directly when hosting nodes, as everything will automatically be converted to the required webp format.
The automatic conversion requires that you have a suitable backend installed on your system, for example magick, convert or ffmpeg. If you do not, images will have to be pre-converted to webp before being included in pages.
The image conversion helper is imported from RNS itself, so you can use it directly in other page-serving programs as well, to easily add image support to your programs. See the nomadnet code for how to do this.
This completes quite a bit of the image serving and loading functionality, and the remaining functionality, such as bandwidth-aware profiles, automatic scaling and compression, and additional image tag functionality will be included in upcoming releases.
For now, enjoy!
Changes
- Optimized page rendering and scroll performance quite significantly, by Zenith
- Added auto-conversation of non-webp image formats to webp for nodes serving images
- Added full local caching system for page images
- Fixed images not being displayed in the built-in page editor