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
Currently the bakerydemo only contains JPEGs. I’d like to see at least one example of each format Wagtail supports, to simplify testing things like wagtail/wagtail#10781. For formats that are interchangeable with JPEG we can just change existing images. For formats that aren’t (PNG, GIF, SVG), we’d likely need new visuals, or perhaps new content (all keeping on theme).
As well as making our Wagtail core testing easier, I suspect having mismatched formats will also be a more realistic representation of real-world content.
I don’t think this is a must but we could also include:
Format conversion in image template tags.
Examples of using images "lossless". Ideally only in a part of the site where this is indeed appropriate for a site (so not on a decorative image)
The text was updated successfully, but these errors were encountered:
I ran into the issue referenced above (although closed in favor of wagtail/wagtail#11570), when trying to add SVG support, the issue will first need to be resolved in Wagtail before being added to the bakerydemo, without needing to regress current usage of image tags to work around open issues. e.g. not having to convert {% picture author.image format-{avif,webp,jpeg} fill-50x50-c100 preserve-svg to {% picture author.image format-jpeg fill-50x50-c100 preserve-svg
Adding SVG support to bakery, also requires some thought around how to extend/populate the sites data with SVGs whilst staying on theme, I would suggest adding the following SVGs as an ImageBlock on a recipe page and along with a new Author snippet.
Currently the bakerydemo only contains JPEGs. I’d like to see at least one example of each format Wagtail supports, to simplify testing things like wagtail/wagtail#10781. For formats that are interchangeable with JPEG we can just change existing images. For formats that aren’t (PNG, GIF, SVG), we’d likely need new visuals, or perhaps new content (all keeping on theme).
As well as making our Wagtail core testing easier, I suspect having mismatched formats will also be a more realistic representation of real-world content.
I don’t think this is a must but we could also include:
The text was updated successfully, but these errors were encountered: