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

Insert Image unable to save in your demo and after implementaion also

3 Answers 32 Views
ImageEditor
This is a migrated thread and some comments may be shown as answers.
Adeel
Top achievements
Rank 1
Adeel asked on 29 Sep 2014, 07:36 AM
When i click on insert image tool on RadImageEditor it asks for a url and when i give an image url in it and SET, image is placed on the RadImageEditor Canvas but i am unable to save that from RadImageEditor after insertion of image from url.
Even i have tried it from your demo but i am unable to save after insert image. is it a BUG?
http://demos.telerik.com/aspnet-ajax/imageeditor/examples/toolbarmodes/defaultcs.aspx  and   http://demos.telerik.com/aspnet-ajax/imageeditor/examples/canvassupport/defaultcs.aspx are the demos i have used and https://yt3.ggpht.com/--5R1fXG2ZC0/AAAAAAAAAAI/AAAAAAAAAAA/dxGi8Yriddc/s100-c-k-no/photo.jpg   is the image i have used.

3 Answers, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 29 Sep 2014, 03:01 PM
Hi Adeel,

By design the ImageUrl property of RadImageEditor can work only with virtual paths to images. Passing a image url to the property sauses a JavaScript error and so the control does not function properly from now on. I hope this information will shed some light on the subject.

Regards,
Vessy
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Adeel
Top achievements
Rank 1
answered on 29 Sep 2014, 03:11 PM
Hello 

How can i give a virtual path ?
can u plz give me an example of Virtual path ?
0
Accepted
Vessy
Telerik team
answered on 02 Oct 2014, 12:21 PM
Hi Adeel,

A virtual path is a path starting with "~", pointing to an image placed inside the application root. For example:
<telerik:RadImageEditor ID="RadImageEditor1" runat="server" ImageUrl="~/Images/Jellyfish.jpg">
</telerik:RadImageEditor>

You can also review the ImageEditor's documentation and demos for more detailed information on how to configure the control properly.

Regards,
Vessy
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
ImageEditor
Asked by
Adeel
Top achievements
Rank 1
Answers by
Vessy
Telerik team
Adeel
Top achievements
Rank 1
Share this question
or