commented out retrieving thumbnail section of upload page as that was only for testing