1

Topic: Code and images on separate servers?

We are using TinyMCE for editing on a large site - we have separate servers for code and images. Im just wondering if its possible to have TinyMCE load imagemanager from a different URL than its own? i.e. TinyMCE stays on our regular application servers, but have imagemanager popup and work with images on our image servers.

In our application, we will have lots of users, each with their own image folders, and those need to stay on our image server cluster.

2

Re: Code and images on separate servers?

You can administrate images on another server from the application server is you use UNC paths like for example:

preview.wwwroot=//imageserver/wwwroot/
preview.urlprefix=http://imageserver.com/images/
filesystem.rootpath=//imageserver/wwwroot/images/

This will display the images on the remove image server and output paths like:
http://imageserver.com/images/myimage.gif if they select a image.

Best regards,
Spocke - Main developer of TinyMCE

3

Re: Code and images on separate servers?

spocke wrote:

You can administrate images on another server from the application server is you use UNC paths like for example:

preview.wwwroot=//imageserver/wwwroot/
preview.urlprefix=http://imageserver.com/images/
filesystem.rootpath=//imageserver/wwwroot/images/

This will display the images on the remove image server and output paths like:
http://imageserver.com/images/myimage.gif if they select a image.

What about uploading images? Those should probably go to the remote server. Im thinking this means the imagemanager plugin would have to live on the remote server separate from TinyMCE?

4

Re: Code and images on separate servers?

I think image upload should work just fine. Since it will just do a file system move from /tmp to the target path (at the remote server).

Best regards,
Spocke - Main developer of TinyMCE

5

Re: Code and images on separate servers?

If you use PHP however, there might be problem with old versions, I have some vague memory of problems using "move_uploaded_file" over partitions, and probably samba mounted remote machines.

Afraithe
TinyMCE Developer
Moxiecode Systems