Can I hard code a directory on my server to insert images from when using “Insert Image” with the SummerNote editor

Solution for Can I hard code a directory on my server to insert images from when using “Insert Image” with the SummerNote editor
is Given Below:

I already have hundreds of images being uploaded to my website from another page and upload routines.

Is there a way to direct the “insert image” popup window to ONLY show contents of a folder within my website directory structure???

I’ve been trying to do that with both TinyMCE and ckeditor with little luck.

Hoping a simpler editor like SummerNote can be modified to do that.

<script>
$('#summernote').summernote({
// placeholder: 'Hello stand alone ui',
tabsize: 2,
height: 600,
toolbar: [
['style', ['style']],
['font', ['bold', 'underline', 'clear']],
['color', ['color']],
['para', ['ul', 'ol', 'paragraph']],
['table', ['table']],
['insert', ['link', 'picture', 'video']],
['view', ['fullscreen', 'codeview', 'help']]
]
});
</script>