move additional image functionality to form partial