Move image data to model from view. It enhances performance because we don't need to load image everytime.