Storing image in MySQL database -
i want store small (50x50) images avatar images, 1 each user. user uploads image , php resizes/crops 50x50. know how store images blob in database, , know other way store url in db , copy image file server. wondering 1 best practice? think number of users vary in range between 1-200. small images in small numbers, storing method best this?
i think,you can choose second way,to store image url in database , retrieve image server,it easy maintaining image , other image re sizing operation
Comments
Post a Comment