{% if widget.label %} {% endif %} {% set _img_data = (widget.current if widget.current and widget.current.strip() else widget.default) %}
{% if _img_data and _img_data.strip() %} {{ widget.label }} {% endif %}
{# Hidden field carries the encoded image data; populated by loader or previewImage #}