/    Sign up×
Community /Pin to ProfileBookmark

Is it necessary to store the photo in the database for this web app?

Hi,

I want to create a web app where the user uploads a photo and downloads it after applying the desired filter to the photo. Do I have to use the database? Is it necessary to store the photo in the database?

regards,

Saeed

to post a comment
Full-stack DeveloperJavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@NogDogNov 20.2022 — The photo itself? No. (If you need to store it, store it in the file system -- for which you might want some mechanism to ensure it has a unique file name.)

Depending on what you want to do, you _may_ want to store info _about_ the photo in the database, perhaps.
Copy linkTweet thisAlerts:
@Heyemjay22Nov 21.2022 — Storing images in a database table is not recommended. There are too many disadvantages to this approach. Storing the image data in the table requires the database server to process and traffic huge amounts of data that could be better spent on processing it is best suited to.https://heyemjay.us/
Copy linkTweet thisAlerts:
@OliverMoorNov 24.2022 — my opinion is that without seo your site can lose a lot of customers, as people now react very sharply to errors

×

Success!

Help @lingo1357 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...