Add dependent: :destroy to image model
Add validation to image model