When tracking the following code in firebug :
e.innerHTML = h;
e.innerHTML becomes :
<img src="https://local.domainname.com/images/homepage/0813_payanywhere_promo.jpg" mce_src="/images/homepage/0813_payanywhere_promo.jpg" height="106" width="108">
when h is :
<img src="/images/homepage/0813_payanywhere_promo.jpg" height="106" width="108">
The issue is that (only in firefox - I'm using 24.0) e.innerHTML prepends the fully qualified domain name (including the https protocol) to the src attribute value. msc_src is an attribute that tinyMCE uses and is not a problem.
I've also tried to see if using mootools would stop this issue (i.e., $(e).set('html', h);), but it does not.
As background, I'm using tinyMCE (3.2.6) in the Joomla Administrator (Joomla 1.5.26) to create a module which contains an image. I use https for my administrator and http for my front end.
Any help greatly appreciated.