Hi @redbranchmedia ,
I suppose you need to remove the option from the field itself instead of trying to prevent this through HubL. You could use a filter to retrieve everything before the ?
{% set image_array = module.image.src|split('?') %}
{% set image_url = image_array[0] %}
But you could also decide to prevent setting an explicit width and height by setting resizable to false in the fields.json:
{
"name" : "image",
"label" : "Image",
"sortable" : false,
"required" : false,
"locked" : false,
"responsive" : false,
"resizable" : false,
"type" : "image",
"default" : {}
}