requarks / wiki-v1

Legacy version (1.x) of Wiki.js
https://wiki.js.org
GNU Affero General Public License v3.0
101 stars 75 forks source link

Images cannot be viewed anywhere besides the repo "root" folder "/" #43

Open Roachmen opened 6 years ago

Roachmen commented 6 years ago

Actual behavior

Images placed in the repo folder cannot be seen in any other folders created besides root. Images placed in the repo folder outside of the media manager do not appear either. They must be "uploaded" to the wiki for the manager to see it. Once it's available, moving the image to another folder (Example: Root to "cat pictures folder") results in the image disappearing forever.

Expected behavior

Images saved to repo folder should appear after a node wiki restart or some other function in their assigned folders. Moving images around within the media manager should keep the changes either with or without a node wiki restart.

Steps to reproduce the behavior

Try to upload images to any other folder than root.

NGPixel commented 6 years ago

All media files (that is non-markdown files) must be located in the /uploads folder (which corresponds to / in the media manager).

Roachmen commented 6 years ago

My apologies, I should clarify that the files are in fact in the /repo/uploads folder. My mistake. The above is still true except where it says repo, should say uploads.