Retrive image from database

hai…

I am currently trying to create a profile ediotr in yii2

i wanna display the image field with an default thumbnail…

and i need to upload a custom pic for the user…

and display that pic…

currently i done the upload image part…

but i was unable to create a default thumbnail display the custom user pic

some body please help me…

thanks in advance…