Recipe site in Gatsby and Firebase-6

Welcome to part-6 of the series. You can find part-5 here.

In the previous part we had stored all our images in firebase. Now we will first add them in our collections.

So, head over to storage and click on the Name of the image. It will open the image in a new tab, from which copy the whole address.

Image for post
Image for post
Storage

Rest of the chapter is exclusive content and will be in my upcoming book Gatsby Cookbook. You can find more details about it here.

Image for post
Image for post
Gatsby Cookbook

And like below in mobile screens.

Image for post
Image for post
Mobile Screens

Although images are getting displayed in our project, but it is not the optimised way to display images in Gatsby.

We will be using the gatsby-image to display images in gatsby, which downloads the images from firebase and make it a part of our static site.

This completes part-6 of the series. You can find part-7 here.

You can find the code for the same in this github repo.

Written by

UI Lead- ReactJS, JavaScript and everything in-between.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store