Photo as binary data why?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
12 年 前
Why do you keeping photos as binary data but not links. It's faster or another reasons
12 年 前
It depends ...

If you store links, then you have to read the link from database and then read the image from some file/network storage.

It's also easier to maintain images in your application. For example: if you delete the image from filestore, you have broken link in database.
12 年 前
Ok!
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.