Rob Venable
Top achievements
Rank 1
Rob Venable
asked on 18 Aug 2010, 02:01 AM
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
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
5 Answers, 1 is accepted
0
Jeremy
Top achievements
Rank 1
answered on 18 Aug 2010, 02:18 AM
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;"
/>
0
Rob Venable
Top achievements
Rank 1
answered on 18 Aug 2010, 02:41 AM
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?
0
Jeremy
Top achievements
Rank 1
answered on 18 Aug 2010, 03:09 AM
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.
0
Rob Venable
Top achievements
Rank 1
answered on 19 Aug 2010, 02:23 AM
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
I guess there's no way around it.
Thanks
0
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
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