passing image position