images sugar api: added ability to filter images (global/my_images)