Modified image preview action.