Quantcast
Channel: C1 CMS Foundation - Open Source on .NET
Viewing all articles
Browse latest Browse all 2540

New Post: Changing the standard behaviour of the image selector in C1 console.

$
0
0
I want to change the standard behaviour of the "Add Image" dialogue.

Currently the Insert Image dialogue points at Composites own media files and adds their file path to the src attribute of the < img /> tag, which I can then change manually and the image still works fine in the visual editor.

I need to alter/add my own custom behaviour to this dialogue box so that it points at my own 'file repository'.

I've been chasing my tail for days combing through:
top.js.
image.aspx.
imageselector.aspx (plus associated .js files).
TreeSelectorDialogPageBinding.js, etc. etc.
image.aspx and imageselector.aspx seem to be the key here. I need to change where imageselector.aspx points to or replace it with my own file, called in image.aspx. The problem is I can't find where this would go or how it would be referenced.

An help would be much appreciated, thanks.

Viewing all articles
Browse latest Browse all 2540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>