-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues inserting images. Incorrect media path. #687
Comments
I have no personal experience with nginx or nginx proxies. But there is a user contributed item on the ckgedit plugin page about how to handle proxies |
The question isn't about the proxies but about how paths are generated by the ckgedit file browser. The path generated by ckgedit's file browser is not valid in my setup and I'm trying to find out why. http://domain/data/media/ is not where files are stored on DokuWiki typically. Take this image from the main dokuwiki site. It uses The result of using ckg file browser The result of using dw file browser Whereas the path I would expect to see is The code that appears to set this is
|
These are functionally equivalent. |
Yes. But as I showed above the file browser is returning |
I recently updated a lot of things so forgive me if perhaps I'm missing something. I've got a nginxproxy/nginx-proxy container fronting the linuxserver.io's dokuwiki image with the PHP7 changes I mentioned in a previous ticket. After moving to this I thought this was working but a few things updated recently.
When using ckgedit plugin and attempting to insert an image the URL generated is
/data/media/RELPATH
where RELPATH is the relative media path. For instance:/data/media/wiki/logo.png
But the public url to the image is:
/_media/wiki/logo.png
or/lib/exe/fetch.php?media=wiki:logo.png
when using the DW Filebrowser.Is the expectation to create a rule to redirect? It looks like this is hard coded into lib/plugins/ckgedit/fckeditor/editor/filemanager/connectors/php/config.php
The text was updated successfully, but these errors were encountered: