Posted: 12/9/2010
Dear Friends,
While save the content of TinyMCE into the SQL Server database, the full URL of the image was not saved.
It was saved as logo/mylogo.jpg instead of http://www.mysite.com/logo/mylogo.jpg
The image link was broken while send the content using html email.
Suresh
Posted: 12/11/2010
Hai,
I found the solution myself through the web search.
// add these two lines for absolute urls remove_script_host : false, convert_urls : false,
Posted: 12/12/2010
vagaisuresh said: user="suresh v"]Hai,I found the solution myself through the web search. // add these two lines for absolute urls remove_script_host : false, convert_urls : false, Suresh
user="suresh v"]
These properties are specific to the plugin I think.
However, you can also concatenate the string to your logo/mylog.jpg path.
You can easily get the current page or website url using Page.Request.Url and it's properties, like Page.Request.Url.Authority or Page.Request.Url.DnsSafeHost or AbsoluteUri etc.
On the other hand, on client side you can get the page host using JavaScript window.location.host
Anyway, this is just an additional suggestion :). You can freely use the solution you already have since you won't need of any additional coding ;).
Regards,Hajan