© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2021
N. BiswasAdvanced Gatsby Projectshttps://doi.org/10.1007/978-1-4842-6640-3_8

8. Displaying Images from Firebase

Nabendu Biswas1  
(1)
Bangalore, India
 
In the previous chapter, we displayed the recipe data on our home page, as well as a detailed view page. In this chapter we will see how to display images using Firebase by following these steps:
  1. 1.

    Store the images in a Firebase database.

     
  2. 2.

    Add the images in collections within the Firebase database.

     
  3. 3.

    Optimize images using gatsby-image.

     
  4. 4.

    Show images on different pages.

     

Storing Images in Firebase

Open the Firebase dashboard and click the Storage tab (Figure 8-1). On the Storage tab, click Get started.
Figure 8-1 ...

Get Advanced Gatsby Projects: Create Two Advanced Sites Using Technologies that Compliment Gatsby now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.