Added Spice.failed() to images

We should return Spice.failed() if there are no useful results so that the back-end knows to either not show the tab or to show that there are no results (same change as #1333).