Fixed bug with `attach` bh template
write gemini test: Image