0

I have a small problem. I have a database called Lease. in this i have a table for customers. So i need to store customer images. it is ok. I used BLOB datatype and the query was successful. But the thing is there will be a lot of customers. I think this makes the database heavy.

So.. I would like to know is there a way to store images in a folder of customer's PC and retrieve it. I think that makes the Database light.

Regards.

1

1 Answer 1

0

You can't store files in the client computer, and even if it was possible, what if he delete the file?

The alternative is to save the path of the image in the database and store the file in a different server .

Sign up to request clarification or add additional context in comments.

4 Comments

The thing is if i use Mysql database to store data, the database become so heavy. And i think there is a limit to upload the images.. isn't
I'm not telling you to store the file in the database, just the path like "~\imgs\myimage.png" and this file can be save in your server that host your application
Something like this
Thanks. Got it :D

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.