add basic handle for images