Fix image attachment in _form