Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6942213
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T12:59:08+00:00 2026-05-27T12:59:08+00:00

Possible Duplicate: Storing Images in DB – Yea or Nay? I am making an

  • 0

Possible Duplicate:
Storing Images in DB – Yea or Nay?

I am making an asp.net mvc site that will have a forum to upload some information. I want to be able to have it upload images. However I am not sure if I should save these images in the database or save them to the file server.

I do not see the images going over 200Kb (this is probably very high). I think the average will be under 50kb.

So what is better to use?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T12:59:09+00:00Added an answer on May 27, 2026 at 12:59 pm

    Depends on what you value and what you’re doing with them:

    Images in a database:

    • Live with the associated data, no chance of becoming detached when data is migrated to another system
    • Easier to back up (because they’re all with the database)
    • More secure, harder to manipulate either accidentally or deliberately

    Images on the filesystem

    • Save space on the DB server storage – may be important if you’re in a
      shared environment paying for DB space
    • easier to retrieve in code
    • easier to reference in html

    I don’t think there’s a “best” approach for all situations – but having said that, if it’s for a web site then filesystem would seem to make more sense to me!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: Storing Images in DB - Yea or Nay? For ages I've been
Possible Duplicate: Storing Images in DB - Yea or Nay? Images in database vs
Possible Duplicate: Storing Images in DB - Yea or Nay? i am curios about
Possible Duplicate: Storing Images in DB - Yea or Nay? Is it faster and
Possible Duplicate: Storing Images in DB - Yea or Nay? I need to store
Possible Duplicate: Storing Images in DB - Yea or Nay? To Do or Not
Possible Duplicates: Storing Images in DB - Yea or Nay? Saving images in database
Possible Duplicate: PHP image resize on the fly vs storing resized images I was
Possible Duplicate: Storing echoed strings in a variable in PHP Suppose I have <?php
Possible Duplicate: Which collection for storing unique strings? I am currently using a Dictionary<string,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.