So then after changing my source to {{ widget_data.hero_image.img.src }} I was finally able to get the image to output as I wanted.
I'm not sure if this is how it is supposed to work and the documentation is out of date or I have done something different elsewhere in my theme but just wanted to type all this out in case someone else encounters the same issue.
So then after changing my source to {{ widget_data.hero_image.img.src }} I was finally able to get the image to output as I wanted.
I'm not sure if this is how it is supposed to work and the documentation is out of date or I have done something different elsewhere in my theme but just wanted to type all this out in case someone else encounters the same issue.
Set background image using export_to_template_context
SOLVE
@RAnderson91 - I've done a comparison of your code snippet with the one that I'm using operationally (and have done for many years).
The only difference I can see is that my instance of the module is inside the {% block body %} structure. I also son't use a default src value, but I can't see that as significant.