XF 1.5 Move upload button to editor image overlay

Mr Lucky

Well-known member
I want to move (or copy) the upload file button into the overlay you get when clicking on the Insert Image icon.

I presume I need to edit editor_dialog_image but cannot find exactly what I need to copy into that.

Can anyone please help? Thanks


Well-known member
Make the addition in red to the editor_dialog_image template:

Rich (BB code):
<dl class="ctrlUnit">
    <dt>{xen:phrase image_url}:</dt>
    <dd><input type="text" name="redactor_image_link" id="redactor_image_link" class="textCtrl" /></dd>

<dl class="ctrlUnit submitUnit">
        <input type="button" name="upload" class="redactor_modal_btn button primary" id="redactor_image_btn" value="{xen:phrase insert}" />
        <xen:include template="attachment_upload_button" />
        <a href="javascript:void(null);" class="redactor_modal_btn redactor_btn_modal_close button">{xen:phrase cancel}</a>