# Express API Images Issue

**URL:** <https://forum.serverless.com/t/express-api-images-issue/20378>\
**Category:** Serverless Framework\
**Created:** [July 27, 2024, 9:08pm UTC](https://forum.serverless.com/t/express-api-images-issue/20378 "2024-07-27T21:08:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![manudev-1](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/manudev-1/32/7992_2.png) [@manudev-1](https://forum.serverless.com/u/manudev-1)\
**Post date:** [July 27, 2024, 9:08pm UTC](https://forum.serverless.com/t/express-api-images-issue/20378/1 "2024-07-27T21:08:00Z")

</div>

Hi everyone, im trying to develop the backend of my portfolio site, and i need to manage the image on m site, so for example i need to upload images and get the image that i uploaded, im using express and none of the methods that i used worked, so first of all, does exist a way to use just a local dir of my project? if no how should i do?

---

<div class="post-metadata">

**Author:** ![garethmcc](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/garethmcc/32/2276_2.png) [@garethmcc](https://forum.serverless.com/u/garethmcc)\
**Post date:** [July 29, 2024, 9:36am UTC](https://forum.serverless.com/t/express-api-images-issue/20378/2 "2024-07-29T09:36:37Z")

</div>

Typically, file upload is done by using S3 as the location to upload files to and manage them from there instead of from a local directory. Lambda functions are ephemeral, in other words, you need to assume that anything written to a local directory in your Lambda will be deleted once execution is completed.
