it's okay for image_url to be nil
check for blank? instead of nil?
simplify by using try