update raddom name image and check isset background for preview page