1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Remove Upload Image By URL

Discussion in 'Media Gallery Support' started by eagle eyes, May 13, 2015.

  1. eagle eyes

    eagle eyes Active Member

    Hello, i would like to remove upload image by URL option when adding new media. How can i do that?
  2. imthebest

    imthebest Formerly Super120

  3. eagle eyes

    eagle eyes Active Member

  4. imthebest

    imthebest Formerly Super120

    On template xengallery_media_add_form find and comment out (or remove) this whole block:

                    <dl class="ctrlUnit">
                        <dt>{xen:phrase xengallery_upload_an_image_from_a_url}:</dt>
                        <dd class="inputIconContainer">
                            <input type="text" class="textCtrl AttachmentDownloader iconInput PreventSubmit" id="ctrl_image_url" name="image_url" placeholder="{xen:phrase xengallery_enter_a_url}..." data-href="{xen:link full:xengallery/files/do-download, '', '_params={$imageUploadParams}'}" data-key="images" />
                            <a class="button smallButton toolButton Tooltip DownloadTrigger" title="{xen:phrase xengallery_add}">
                                <i class="fa fa-plus fa-lg"></i>
                            <p class="explain">{xen:phrase xengallery_upload_image_url_explain}</p>

Share This Page