added jpegs to page upload