Skip to content
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

Images in all of Wagtail’s supported formats #457

Open
thibaudcolas opened this issue Oct 13, 2023 · 0 comments
Open

Images in all of Wagtail’s supported formats #457

thibaudcolas opened this issue Oct 13, 2023 · 0 comments

Comments

@thibaudcolas
Copy link
Member

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant