---
title: "Discussion on \"How I Implemented IPFS to Save Images\" | Hashnode"
description: "Discussion on \"How I Implemented IPFS to Save Images\". I had to use IPFS to save image files on a project I worked on. It was a blockchain project with the smart contract written in solidity. The front end is in vanilla JavaScript, HTML, and CSS. This article shows how I was able to use IPFS from the fro..."
url: "https://hashnode.com/posts/how-i-implemented-ipfs-to-save-images/60731df18b2b857c0bdb7089"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How I Implemented IPFS to Save Images](https://princecurie.tech/how-i-implemented-ipfs-to-save-images?utm_source=hashnode&utm_medium=feed)

I had to use IPFS to save image files on a project I worked on. It was a blockchain project with the smart contract written in solidity. The front end is in vanilla JavaScript, HTML, and CSS. This article shows how I was able to use IPFS from the fro...

Apr 11, 2021 · 3 min read · princecurie.tech  
Updated Jul 17, 2022  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#blockchain](https://hashnode.com/tag/blockchain)
-   [#ipfs](https://hashnode.com/tag/ipfs)
-   [#html](https://hashnode.com/tag/html)

## Written by

[Onwubiko Chibuike](https://hashnode.com/@princeCurie)

@princeCurie

  
[View profile](https://hashnode.com/@princeCurie)

## Responses 1

Markdown supported · ⌘↵ to post

[Chetan Kumar](https://hashnode.com/@chetan768)

[Mar 7, 2022](https://hashnode.com/posts/how-i-implemented-ipfs-to-save-images/60731df18b2b857c0bdb7089/comment/6225c2b7c705276a2dd2f94f)

**To fetch the image from IPFS, we need to attach the value saved to the cid variable to this URL: [ipfs.io/ipfs](https://ipfs.io/ipfs/) Running it on a web browser will return the image saved.**

Hi as u said in blog to fetch image from IPFS we have to attach the value of cid to that URL right Is there any other way to fetch image from IPFS and shown in front end (React js)

[Onwubiko Chibuike](https://hashnode.com/@princeCurie)

[Mar 10, 2022](https://hashnode.com/posts/how-i-implemented-ipfs-to-save-images/60731df18b2b857c0bdb7089/comment/6225c2b7c705276a2dd2f94f#reply-6229e8cce552e99d82e585c7)

I believe [Nader Dabit](https://hashnode.com/@dabit3) wrote this article on it.

[dev.to/dabit3/uploading-files-to-ipfs-from-a-web-…](https://dev.to/dabit3/uploading-files-to-ipfs-from-a-web-application-50a)

Check it out.
