Enter image in RadEditor

6 posts, 0 answers
  1. Rob Venable
    Rob Venable avatar
    48 posts
    Member since:
    Dec 2009

    Posted 17 Aug 2010 Link to this post

    Hi,
    Is there a way to add an image to the RadEditor? I see an image icon but I can`t really add one.
    I have an application where I need to add an image or even a newsletter as a graphic (.pub file) pud I can`t find a way of doing it.

    Thanks
  2. Jeremy
    Jeremy avatar
    96 posts
    Member since:
    Mar 2010

    Posted 17 Aug 2010 Link to this post

    If you're using the HTML edit mode you could just stick an image tag in :)
    <img src="../../Img/editor.jpg" alt="product logo" style="margin-top: 25px; float: left; margin-right: 15px;" />
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Rob Venable
    Rob Venable avatar
    48 posts
    Member since:
    Dec 2009

    Posted 17 Aug 2010 Link to this post

    This is for my client that is not familiar with HTML. I did find a way to view the images in the RadEditor by setting the

    ImageManager-ViewPaths

     

    ="~/images".
    I now see the images from the server but when I add an image and send it...it doesn't appear in my email and I don't have an option to "view images" in my email. Everytime I get an email that contains an image, I always have a "view images" link at the top of my email to view it.
    Any ideas on that?

     

  5. Jeremy
    Jeremy avatar
    96 posts
    Member since:
    Mar 2010

    Posted 17 Aug 2010 Link to this post

    I'd be guessing that the email is just saving the link to the image - rather than the image itself. So if the email recipient cannot access the image path on the server, or it is a relative path, then there would be nothing to display. If you add the "alt" tag to the image you will be able to check this because the alt text will show up in place of the image.
  6. Rob Venable
    Rob Venable avatar
    48 posts
    Member since:
    Dec 2009

    Posted 18 Aug 2010 Link to this post

    I think I know what's going on. The site has an SSL certificate and I can display the image if I use the absolute path https://mydomain.com/pathtomyimage.
    I guess there's no way around it.
    Thanks
  7. Rumen
    Admin
    Rumen avatar
    12851 posts

    Posted 20 Aug 2010 Link to this post

    Hi Rob,

    My suggestion is to enable the MakeUrlsAbsolute content filter of RadEditor, which will export the images with absolute paths. This should fix the problem.


    Kind regards,
    Rumen
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017