Add image drawing routine