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

Use webp for images with fallback #45

Open
astronomersiva opened this issue May 1, 2019 · 7 comments · May be fixed by #99
Open

Use webp for images with fallback #45

astronomersiva opened this issue May 1, 2019 · 7 comments · May be fixed by #99

Comments

@astronomersiva
Copy link
Member

No description provided.

@meanmachin3
Copy link
Contributor

meanmachin3 commented May 12, 2019

@astronomersiva Would like to take this up as well. However, little unsure where to start. Found a nice little gem that could convert images to webp. However, webp doesn't seem to behaving nice with jekyll assets as of now. With v3.1, we should be able to work with multiple srcset with <picture>

@astronomersiva
Copy link
Member Author

@meanmachin3, that gem sure does look interesting. If generating webp images is the issue, we can enforce checking in the webp equivalents along with the original images. That way, we will only have to worry about generating the <picture> tags. Let me know what you think.

@meanmachin3
Copy link
Contributor

@astronomersiva Generating tag is little problematic, since you need image resizing on the fly. How about using cloudinary for this ?

They offer about 25 credits per month which is equivalent to 25k transformation per month. They offer on the fly image transformation. Let me know your thoughts.

Do we have any other medium of discussion that could be faster(Slack/Discord) ?

@astronomersiva
Copy link
Member Author

@meanmachin3, to start with, let's just use webp and png/jpeg. We can go for resizing later.

https://jekyllrb.com/docs/plugins/tags/ - We can use this for generating the markup.

I have mailed you my contact details 😄

@astronomersiva
Copy link
Member Author

@meanmachin3 any updates on this?

@meanmachin3
Copy link
Contributor

meanmachin3 commented May 31, 2019

@astronomersiva Haven't worked on this piece this week. How about I put up an update by this weekend ?

@astronomersiva
Copy link
Member Author

Sure @meanmachin3

@meanmachin3 meanmachin3 linked a pull request Jun 3, 2019 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants