added basic {img} support