using an image (localhost version)