blog can resize the photo admin uploaded