add additional clause to safe_image helper in non nil instance but nil image case; remove commented out embedded ruby in show.html.erb