added position support for image