-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
Tutorial: add gatsby-image
#9374
Comments
On it ! |
All yours, @siddhant1! @shannonbux Where do you think this should go? My thought is that it might be its own new section after Part 4 that could be called "Using Images in Gatsby". Things to cover:
Anything I'm missing here? |
It would be great to see some documentation on how to leverage an external service such as imgix with gatsby-image, possibly using react-imgix. |
Can I take this? |
@Ivrbrtsn sure ! |
@lvrbrtsn thanks! See @jlengstorf's comment above. #9374 (comment) The idea is basically a standalone tutorial on how to put images in a Gatsby site and we can point people to this tutorial after they finish part eight of the current main tutorial. We consider |
Is anyone working on this? I would like to take this one |
@harshil1712 Feel free! I have not made much progress and have a lot coming up this next month. |
Updated the description to make clear this issue is for a separate tutorial, not to amend the main tutorial. |
Just to be on the right track, this file should be in the docs folder, right? |
Yup! |
Yes. It could go under the `Advanced Tutorials` section in the
`doc-links.yml` file or potentially under `Images and Files`. The tutorial
should assume that the reader has at least gone through the Main Tutorial,
or already knows how to do the tasks covered in the Main Tutorial.
Thanks!
…On Sat, Jan 26, 2019 at 8:48 AM Harshil Agrawal ***@***.***> wrote:
Just to be on the right track, this file should be in the docs folder,
right?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#9374 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Ae9o2jPGDrdMCJoib57MUb0_kkqIkweKks5vHIbAgaJpZM4X5Mt5>
.
|
Hiya! This issue has gone quiet. Spooky quiet. 👻 We get a lot of issues, so we currently close issues after 30 days of inactivity. It’s been at least 20 days since the last update here. If we missed this issue or if you want to keep it open, please reply here. You can also add the label "not stale" to keep this issue open! Thanks for being a part of the Gatsby community! 💪💜 |
Don't close!
…On Fri, Feb 22, 2019 at 9:28 AM gatsbot[bot] ***@***.***> wrote:
Hiya!
This issue has gone quiet. Spooky quiet. 👻
We get a lot of issues, so we currently close issues after 30 days of
inactivity. It’s been at least 20 days since the last update here.
If we missed this issue or if you want to keep it open, please reply here.
You can also add the label "not stale" to keep this issue open!
Thanks for being a part of the Gatsby community! 💪💜
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#9374 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Ae9o2v0UtnHX0BoPDafalkhXHJX3VgXeks5vQCikgaJpZM4X5Mt5>
.
|
Was this still there?? Can I work on this ?? |
@harshithpabbati I you want we can work on this together! |
sure @harshil1712 where were you struck??? |
Hey folks, let us know if you need any help starting the new image tutorial! It would be great to move this forward. |
I was busy with some work earlier. Will work and close this one in a few days |
There is some changes I contributed to It was placeholder base64 related, for being able to set a custom width(instead of the default 20px), which can be useful when 20px doesn't "blur-up" well, or if you want to apply an actual CSS blur filter where a little more detail smooths that out nicely. You can find the related PR here. The other features were less likely to be useful, just like how the base64 width could be global or per image, you could force a base64 image format or use webp(smaller filesize) which works for Chrome/Firefox while using a bgcolor as a fallback for those not supporting webp. |
@marcysutton I can help with the image tutorial? |
Hey, Seems like a lot of people have been attempting to work on this, If no one is currently working on the at the moment, I would love to take this up and make this my first contribution here. |
Yeah ! Go for it! |
We would definitely love for someone to take this on! If you're interested in working on it, go for it. Submitting a PR is the best way to move this forward. The location for this in the docs may move as I'm proposing some changes to the Tutorial section (grouping the main tutorial + advanced tutorials) but that shouldn't impact the content. For ideas on what an image tutorial should cover, you can reference the previous comments from @shannonbux and @jlengstorf: |
A PR for another feature to Would be good to include that too, or an update if these docs are finished before the PR is merged. An example has been linked from the PR author of a recent project they've worked on. It shows how you can make the image responsive to adapt to a suitable portrait variant for mobile vs the landscape variant for desktop/tablet. |
There would likely be some overlap in a gatsby-image tutorial, but it's worth keeping in mind the purpose of tutorials:
A tutorial could guide a user through setting all of this up without the limiting pressure of a reference guide to not be too lengthy. Maybe it would help to think of a tutorial as the written-version of a how-to video. You can certainly start by looking at the content that already exists, but make sure the steps all work in order. |
I'd be happy to take this on. I'd probably pull a lot from this post if that works? |
That sounds great, @lstar19! If you can make it a standalone piece, that would be awesome. I would also recommend using the |
Closed with #15027. Thanks so much for all the input here! |
Summary
We want to create a new tutorial for
gatsby-image
for intermediate users. This learning resource should show how to create responsive images step-by-step. It would fit best as the first item on the Additional Tutorials page.Here's some information on creating tutorials: https://www.gatsbyjs.org/contributing/docs-templates/#tutorials
Motivation
Many Gatsby users don't know about
gatsby-image
and it's one of the most noticeable benefits to Gatsby site visitors.@jlengstorf continuing the discussion from #9158 (comment)
The text was updated successfully, but these errors were encountered: