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

Better image optimisation pipeline #9

Open
patricoferris opened this issue May 2, 2021 · 0 comments
Open

Better image optimisation pipeline #9

patricoferris opened this issue May 2, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@patricoferris
Copy link
Owner

Sesame has basic support for image responsiveness, but actually currently it is a little broken:

  1. I don't think the produced img and srcset are correct, I think the way forward is to use the picture tag instead. This should be a relatively simple fix.
  2. Part of way websites today either don't optimise their images or do so poorly is because of the initial up-front costs of doing so. Sesame should provide a more comprehensive default behaviour i.e. take images and an optimisation strategy and handle all of the path mangling behind the scenes. The user shouldn't have to decided where to put things. I think this makes sense and could put the images in public/static/<hash>/<image_name> and then re-write references in the markdown or whatever.
@patricoferris patricoferris added the enhancement New feature or request label May 2, 2021
@patricoferris patricoferris self-assigned this May 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant