HTML documents don't currently support img files that are stored within the content tree, and any img src links need to be manually managed to whatever renditions are in use. What would be nice is if the HTML page renderer were to minimally process the document to treat <img> elements similarly to !() in markdown.
On local images, attributes such as width and height would drive the rendition, and additional parameters could be passed in via data-publ-* attributes (e.g. data-publ-scale="3").
Remote and static images would simply rewrite the src attribute appropriately but make no other changes.
The text was updated successfully, but these errors were encountered:
This should also probably respect the rendering configuration passed in through entry.more et al, and obviously should set srcset if it's not specified. (However, parsing srcset is probably above and beyond what we want to do.)