Yield images instead of returning