Added new parameter for getImages: term, which looks in all searchable
fields, both ids and text/label