image pop function updated