1

Topic: Preview file from file manager

If I click "insert file" which brings up the File Manager and then I navigate to an image files, and I double click on the image file, it attempts to display the image file in the Preview section.  How does it determine the URL?  Currently, I'm on 3.4.7 and the latest file manager.  Some how my "domain.com" is being rewriten to "domain.comes" and I'm preplexed as to how it is determining the rest of the path.  Any thoughts?

2

Re: Preview file from file manager

It uses the preview.wwwroot and the absolute path to the file on some hosts it can't auto resolve the wwwroot so you might need to specify it your self.

So for example and absolute path like:
/var/www/site/images/my.gif

With a preview.wwwroot of:
/var/www/site

Would produce and url like:
http://host/images/my.gif

Best regards,
Spocke - Main developer of TinyMCE