# Frontend to Backend send image

**URL:** <https://forum.codewithmosh.com/t/frontend-to-backend-send-image/29398>\
**Category:** Uncategorized\
**Created:** [October 23, 2024, 5:20am UTC](https://forum.codewithmosh.com/t/frontend-to-backend-send-image/29398 "2024-10-23T05:20:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sivakumar](https://avatars.discourse-cdn.com/v4/letter/s/bb73d2/32.png) [@sivakumar](https://forum.codewithmosh.com/u/sivakumar)\
**Post date:** [October 23, 2024, 5:20am UTC](https://forum.codewithmosh.com/t/frontend-to-backend-send-image/29398/1 "2024-10-23T05:20:08Z")

</div>

Hi,

can you please tell me how to send image frontend to backend and backend to database…

and how to get image in database to UI please tell me…

please share code simple method…

---

<div class="post-metadata">

**Author:** ![sivakumar](https://avatars.discourse-cdn.com/v4/letter/s/bb73d2/32.png) [@sivakumar](https://forum.codewithmosh.com/u/sivakumar)\
**Post date:** [October 24, 2024, 5:15am UTC](https://forum.codewithmosh.com/t/frontend-to-backend-send-image/29398/2 "2024-10-24T05:15:01Z")

</div>

I am totaly confused please tell me anyone!!!

---

<div class="post-metadata">

**Author:** ![UniqueNospaceShort](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/uniquenospaceshort/32/1814_2.png) [@UniqueNospaceShort](https://forum.codewithmosh.com/u/UniqueNospaceShort)\
**Post date:** [October 24, 2024, 9:20pm UTC](https://forum.codewithmosh.com/t/frontend-to-backend-send-image/29398/3 "2024-10-24T21:20:20Z")

</div>

No idea myself. I’m a .NET dev.  
I mean there are common grounds (HTML mostly and a few concepts) but better give you an article to read.

> **[How to upload, display and save images in Node.js | GoLinuxCloud](https://www.golinuxcloud.com/node-js-upload-file/)**
>
> Step by step instructions in node.js to upload file, then display and save files with practical examples

---

<div class="post-metadata">

**Author:** ![sagar\_1343](https://avatars.discourse-cdn.com/v4/letter/s/e5b9ba/32.png) [@sagar\_1343](https://forum.codewithmosh.com/u/sagar_1343)\
**Post date:** [October 27, 2024, 12:10pm UTC](https://forum.codewithmosh.com/t/frontend-to-backend-send-image/29398/4 "2024-10-27T12:10:17Z")

</div>

I would suggest Cloudinary. This is a cloud provider for storing images and other files…  
With this you need to change schema of your image field to string type and in the fronted you can use the cloudinary apis to get the url of your posted image.

---

<div class="post-metadata">

**Author:** ![sivakumar](https://avatars.discourse-cdn.com/v4/letter/s/bb73d2/32.png) [@sivakumar](https://forum.codewithmosh.com/u/sivakumar)\
**Post date:** [October 28, 2024, 9:43am UTC](https://forum.codewithmosh.com/t/frontend-to-backend-send-image/29398/5 "2024-10-28T09:43:50Z")

</div>

can you provide any video link
