queried API for images