This is a migrated thread and some comments may be shown as answers.

[Solved] Image manager and Remote Images

1 Answer 199 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Jon Stromer-Galley
Top achievements
Rank 1
Jon Stromer-Galley asked on 28 May 2008, 10:43 PM
In one of the previous promethius builds the "set image properties" dialog could be used to inset a remote image.  That is no longer true as the "set image properties" no longer works without an existing image as a base.

The image manager itself does not allow one to specify a remote image as was frustratingly the case with the old rad editor.

First,
Does anyone have a work around for Promethius?

Second,
Why is Telerik going out of its way to prevent someone from inserting remote objects?  Why can I type in the image path text box if that input is ignored?

1 Answer, 1 is accepted

Sort by
0
Tervel
Telerik team
answered on 29 May 2008, 11:29 AM
Hi Jon,

The "Set Image Properties"  dialog does allow to change the URL of an existing image to an image from a remote server. You can easily test this in our online demos, e.g.
http://www.telerik.com/DEMOS/ASPNET/Prometheus/Editor/Examples/Default/DefaultCS.aspx

Right-click on the image, and choose "Set Image Properties", then change the URL of the image into the dialog.

In case you refer to the "Image Manager" dialog, however, indeed, it is not possible to specify an image from a remote location. This was done for a number of reasons, among which: unified code and behavior for all file managers, intuitive use, etc. Ability to specify an external location was more of a hack rather than a well-defined feature in the ImageManager. In addition, to my best knowledge, this functionality never existed in the Prometheus/AJAX RadEditor, but only in RadEditor Classic.

In case you wish to allow your users to insert external images, my suggestion would be to implement a custom tool that fullfills that purpose. Please refer to the following example how you can implement a custom tool
http://www.telerik.com/DEMOS/ASPNET/Prometheus/Editor/Examples/CustomTools/DefaultCS.aspx

In IE there is a special command that you can use to popup a special image dialog. In the following forum thread there is an implementation of this custom command:
http://www.telerik.com/community/forums/thread/b311D-bagath.aspx

In FireFox you can implement similar behavior using a prompt box, as outlined in the old Mozilla Midas demo available here:
http://www.mozilla.org/editor/midasdemo/

You can combine the IE and FF solutions in one generic cross-browser solution.

Greetings,
Tervel
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Editor
Asked by
Jon Stromer-Galley
Top achievements
Rank 1
Answers by
Tervel
Telerik team
Share this question
or