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

Problem with relative images displaying in radeditor

3 Answers 31 Views
Editor
This is a migrated thread and some comments may be shown as answers.
David Moore
Top achievements
Rank 1
David Moore asked on 15 Aug 2012, 07:07 PM
I'm using the image manager to upload/delete/view images through the radeditor.  I have no problem uploading images, but they never display correctly in the radeditor.  It appears that they are 404'ing however in firebug they are showing a 200 with "Failed to load the given URL".  If I type in the path directly I have no issues viewing the image, but for some reason the editor is not displaying them.  If I change them to absolute paths they show up fine.  This behavior is only when deployed to our web servers, locally it works as expected.

3 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 16 Aug 2012, 01:57 PM
Hello,

Do you use a custom file browser content provider?

Are you able to see the inserted images via the Image Manager in the RadEditor's content area?

All the best,
Rumen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
David Moore
Top achievements
Rank 1
answered on 16 Aug 2012, 02:09 PM
Nope, using the stock configuration, I also cannot see them in the content area.  When I view the page that is rendered from the html we are creating within the radeditor the images display fine.  So for this is only happening on one environment, so I'm thinking there is a possibility it may be a permissions issue, how does the editor deal with permissions?
0
Rumen
Telerik team
answered on 16 Aug 2012, 02:56 PM
Hello,

The content area is an editable iframe and to show the images they must have valid paths and read ASPNET / NETWORK SERVICE permissions. You can find more information in this article: Example: Enforcing Roles.
You can test the permissions using the code provided in the An error like "... because the application did not have enough permissions..." occurs only in a production environment. How to debug the issue? section of the following article: Troubleshooting.

Best regards,
Rumen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Editor
Asked by
David Moore
Top achievements
Rank 1
Answers by
Rumen
Telerik team
David Moore
Top achievements
Rank 1
Share this question
or