Working version with test image.