Forum Moderators: coopster
I can store it by directly uploading it (standard way we do it) or can upload to database as medium blob.
The upside of storing the images in database is that i can easily have number of views and rating using table fields but i have been suggested by many friends that storing on database using blob is not preferable.
Then how do i store the images?
Now, you have everything you need to retrieve the image (mime type and name) and you know where it's stored (by row ID)