match the referenced style to the new image