More in this section
Forums / Developing with Sitefinity / Customize "Insert an image" dialog box

Customize "Insert an image" dialog box

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. san
    san avatar
    61 posts
    Registered:
    20 Aug 2010
    11 May 2011
    Link to this post

    Hello,

    We are using Sitefinity 3.7. SP3 for our projects. We would like to hide the “Upload an image” feature in the “Insert an image” dialog box and make the users to select the images that have already uploaded in to the image libraries (mainly to not allow them to upload images into "images" of "files" folder).

    I have looked at some of the posts and found one for Sitefinity 3.2.  Has customization of dialog boxes been implemented with Sitefinity 3.7?  

    We also like to remove the “Or” from the “Insert an image” dialog window and just provide a link to “Select from already uploaded images” (Please refer to the screenshot). Is there a way to accomplish this? Could anyone please provide me with some suggestions on how to accomplish this and some example code to accomplish this functionality. Thank you for all your time.

  2. san
    san avatar
    61 posts
    Registered:
    20 Aug 2010
    12 May 2011
    Link to this post
    We were able to hide "Insert an image" feature by editing the: Sitefinity\Admin\ControlTemplates\Libraries\Dialogs\ImageEditorDialog.ascx file to hide the div's.

    Thank you for your help.
2 posts, 0 answered