Auto generate image preview in _form, index, view, and admin