first version of imageRestyle