overhauled the image upload page