Create thumbnail for each photo uplaoded