This question is locked. New answers and comments are not allowed.
Hi,
Is there any way to configure externally, such that, Insert Image dialog – preview area displays only single Thumbnail of the current uploaded image, with enlarged actual size of the image instead of multiple and small icons.
I am placing the code below, that I found as an alternative.
Is there any way to configure externally, such that, Insert Image dialog – preview area displays only single Thumbnail of the current uploaded image, with enlarged actual size of the image instead of multiple and small icons.
I am placing the code below, that I found as an alternative.
a) Display single Thumbnail: Modified the script file, telerik.imagebrowser.min.js, as placed below to display a Single Thumbnail instead of Multiple Thumbnails in Insert Image dialog – preview area.
From:- if(t.length){t.before(w)}else{this.wrapper.append(w)}
To:- if(t.length){t.replaceWith(w)}else{this.wrapper.append(w)}
b) Also modified the below code to achieve desired Thumbnail URL:
telerik.imagebrowser.min.js
From:- {return this._thumbnailUrl+"/?path="+q+r}
To:- {return q+r}
Please provide appropriate comments for best practises to configure this, possibly external.
Thank You.