Problem with relative images displaying in radeditor

4 posts, 0 answers
  1. David Moore
    David Moore avatar
    23 posts
    Member since:
    Jul 2008

    Posted 15 Aug 2012 Link to this post

    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.

  2. Rumen
    Admin
    Rumen avatar
    14419 posts

    Posted 16 Aug 2012 Link to this post

    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.
  3. David Moore
    David Moore avatar
    23 posts
    Member since:
    Jul 2008

    Posted 16 Aug 2012 Link to this post

    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?
  4. Rumen
    Admin
    Rumen avatar
    14419 posts

    Posted 16 Aug 2012 Link to this post

    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.
Back to Top