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

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -