1

Topic: Issues with urlprefix and image path

Just purchased ImageManger after having used TinyMCE for quite some while (also licensed, love the functionality of it). I set it up and it uploads and behaves as intended, except the "finished" url for the images isn't right.

So I changed the $mcImageManagerConfig['preview.urlprefix'] path, by default the url for my images went to ../img/<myimage>, I then added the urlprefix and made it http://mydomain.tld

This made the URL for my images become http://mydomain.tld/img/<myimage>, unfortunately I use a subdomain for my admin page, so the path is http://sub.mydomain.tld, this forced the image URL back to ../img/<myimage>.

Am I doing something wrong/is there a configuration option I am missing to be able to use a subdomain as the actual image URL?

2

Re: Issues with urlprefix and image path

Sounds like you need to disable the relative_urls option by setting it to false. Check the TinyMCE FAQ for details.

Best regards,
Spocke - Main developer of TinyMCE

3

Re: Issues with urlprefix and image path

Thank you very much, solved my issue right up!

4

Re: Issues with urlprefix and image path

No problem.

Best regards,
Spocke - Main developer of TinyMCE