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 7708735
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T00:41:15+00:00 2026-06-01T00:41:15+00:00

First sorry I’m a big beginner. Would like to ask a more experienced developers

  • 0

First sorry I’m a big beginner.

Would like to ask a more experienced developers opinion.

I have small website a really small social network for sports, and I would like to allow the users to create image folders and upload multiple images there.

As I was reading through the internet, they say that it is bad to store the images in the database, only save the location of the image.

But this is the part what I don’t understand, more precisely the logic what I don’t really understand.

I go to the users profile select the folder, but what is the way to show the images?

Is it a good idea to select the folder and use scandir to get the images? And if I’m scanning the folder is it possible to limit it to, for example, limit it to only one image at first what points to the gallery?

And I was thinking to separate the location path table in the database tied to the user ID, won’t that be a problem? Won’t that make the database really large?

Sorry if these are stupid questions, I would just really like to know.

Now I don’t want anybody to write this for me, just give an opinion about the logic.

Thank you.

  • 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-06-01T00:41:16+00:00Added an answer on June 1, 2026 at 12:41 am

    I would recommend you to store all information about the folder and pictures in the database.
    For example a schema like the one in the diagram below. The advantage of having the data in a database is that you can get as many pictures as you want. And later you can add additional information to the table (e.g., permission for other users, comments, etc.)

    Database schema

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

Sidebar

Related Questions

Sorry, this's my first time to ask a question here. So, I don't have
First of all sorry for my English. I would like to use a backtracking
First sorry if its a stupid guestion but im a really big beginner. I
first of all sorry im a beginner. Im making a small shoutbox with jquery
First of all I'm sorry but I'm a really big beginner. I dont really
First Sorry for my English. I wanted to ask why ElementName does not work
At first sorry for my really bad title! If you have a better title
First of all sorry that I could not think of a more descriptive title.
First post here so sorry if I seem like a newb, I am trying
first,sorry for my bad English!! i'm new here and i'm a beginner of android

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.