Implement smart stub with images