Web page crashes when attempting to upload a background image