entity jpg upload setup