I have cloned the SXA Image Component by creating a new view file, new template and new rendering parameters template.
There is a
URL field in the item and I have inserted an external link in here. I have also created a rendering variant with a single image field (Is Link set to true). But the output for the link (href) is always