pipeline.py: add thumb and mini for 'image'