How to store multiple Images in database?

Let’s learn how to store multiple Images in database. The most accurate or helpful solution is served by Stack Overflow.

There are ten answers to this question.

Best solution

How to store images in sqlite database and display them?

In my application I need to display questions along with images in Android. I have stored questions in sqlite db and displaying them. I have created a folder DBimages in assets folder. Now all my images are there in DBimages folder. I have created two classes. I am able to display the question and options from local sqlite db but I am unable to display the image which is stored in assets\DBimages\abc.png. The names of all the images are stored in pictures column in sqlite db table. But how to...

Answer:

Some ugly way, to store images in SQLite database. Just store images in sdcard and save the relevant...

Read more

RaagaSudha at Stack Overflow Mark as irrelevant Undo

Other solutions

Answer:

Photo storage websites generally allow you to upload compressed JPG files and do not alter the file...

Read more

Ed Chang at Quora Mark as irrelevant Undo

Answer:

if you have to, read the file as normal (fread() etc) and then inse... You must be signed in to read...

Read more

Alex Coppen at Quora Mark as irrelevant Undo

Is it a bad design to store images as blobs in a database?

I have read online that you should avoid doing this. Can anyone explain what is wrong with this approach and what is a better approach? Are sites like Flikr, Facebook, etc. storing their images as blobs?

Answer:

You can't make a unequivocal statement that storing images in a database is always bad. It's usually...

Read more

Bill Karwin at Quora Mark as irrelevant Undo

Answer:

As above, you do not store the actual image, but rather the path of where the image is stored on the...

Read more

Sachin at Answerbag.com Mark as irrelevant Undo

Answer:

You could do it if you have small images. But with images as heavy as a few Mo of Ko it's not a good...

Read more

Michel Pigassou at Quora Mark as irrelevant Undo

Answer:

Needle in a Haystack: Efficient Storage of Billions of Photos.          Facebook has built to handle...

Read more

Amit Bhowmik at Quora Mark as irrelevant Undo

Answer:

No, Its illegal. The Facebook dosent allow you to do so.

Read more

Arun Haridas at Quora Mark as irrelevant Undo

Storing user uploaded images in mssql server 2008 (Controlling user uploads)?

Hi all, I'm developing a asp.net website and im fairly new to this. In the website i allow each users to upload 5 images and then store the images in the database,(Still considering whether to store the images in db or in the file system-{inside a folder...

Answer:

With no user profile how do you intend to limit a user to 5 photos? Using the IP address isn't going...

Read more

Captain_... at Yahoo! Answers Mark as irrelevant Undo

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.