Found query on server side, beginning to extend it to include images.