Fixing main page to display photos of slide to be deleted