<div class="row">
  <div class="col-sm-6">
    <%= f.input :value, as: :image, label: false, input_html: { field_name: 'setting_value', img_src: @setting.value, path_only: true } %>
  </div>
  <div class="col-sm-6">
    <%= f.input :value, label: 'Image URL', readonly: true %>
  </div>
</div>

<div class="image-to-path-wrapper">
  <div class="row">
    <div class="col-sm-6">
      <%= f.input :value, as: :image, label: false, input_html: { field_name: 'setting_value', img_src: @setting.value, path_only: true } %>
    </div>
    <div class="col-sm-6">
      <%= f.input :value, label: 'Image URL', readonly: true %>
    </div>
  </div>
</div>

Fix image-to-path image setting issue
Fix image-to-path image setting issue
