image archive page popup function update