How to Add "Mobile Image" option in custom section?

Hi All,

I made an attempt to add my own custom section into my Showtime theme. The only option I’m missing from the section is the option to add a separate mobile image like other sections. If anyone is able to edit the code below and/or share how I would go about adding this option it would be greatly appreciated

(these are the only options)

Liquid Code:

{% if section.blocks.size > 0 %}

{% for block in section.blocks %}
{% if block.type == ‘text’ %}

{% unless block.settings.title == blank %}

{{ block.settings.title | escape }}

{% endunless %} {% unless block.settings.text == blank %}
{{ block.settings.text }}
{% endunless %} {% unless block.settings.link == blank %} {% endunless %}
{% elsif block.type == 'image' %} {% assign width = block.settings.width | slice: 2,2 | plus:0 %}

{% if block.settings.enable_mobile_image and block.settings.mobile_image != blank %}

{{ block.settings.mobile_image.alt }}
{% endif %} {% elsif block.type == 'button' %} {% elsif block.type == 'page' %} {% elsif block.type == 'spacer' %} {% endif %} {% endfor %}
{% endif %}