pipeline.py: add support for 'image'