I have MVCForum under IIS as a separate application "forum". Hovewer there is a problem with path to images I'm trying to upload/attach to post. They are referenced to the root "/content/upload...". But the root of the site if "/forum/<sub-path>". How can I change this?
Path to images when creating post
- 68 Views
- Last Post 13 January 2018
- Topic Is Solved
Found the solution.
In the TinyMcePluginsController.UploadImage I've changed the result to:
There is another solution which does not need to recompile the project.
In Scripts/tinymceplugins/ImageUpload folder, change the imageupload.js as the following figure: