returning an array of results now also implemented for image previews