Jump to content

TinyMCE https images


Syourt

Recommended Posts

Hi everyone,

 

After spending a couple of hours searching on Google, I still haven't found the solution. I think there must be some easy solution.

 

I want to have my CMS page images served automatically over https. When I add a new image using the TinyMCE editor, it is using http by default. I want to have this changed to https or to a relative URL like /images/etc. I'm building this for a client so I don't want her to manually add the 's' after 'http'.

 

I've already tried to set the relative url to true in /js/tinymce.inc.js but nothing seems to happen. The settings in here right now are:

 

statusbar: false,
relative_urls : true,
convert_urls: true,

 

I hope you guys could help me out. Thanks in advance.

 

With kind Regards,

 

Sjoerd van Hout

Edited by Syourt (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...