Ticket #995 (closed Defect: see follow-up)
Pictures are not displayed
Reported by: | JuergeN | Owned by: | Malte |
---|---|---|---|
Priority: | Major | Milestone: | Release 4.8.3 |
Component: | DeepaMehta Standard Distribution | Version: | 4.8.2 |
Keywords: | Cc: | jri | |
Complexity: | 3 | Area: | GUI / Usability |
Module: |
Description
I have installed http://download.deepamehta.de/dm48-images-0.9.9.jar in a fresh DM 4.8.2 installation. I can upload pictures to the server and select them as expected, but they are not diplayed, nor in the file picker, neither in the html editor or in the detail panel. Do I need to install anything else?
Change History
comment:2 Changed 8 years ago by jri
Note also that the Images plugin want create a folder "images" directly in your file repo. So you must configure the file repo so that it is writable. This is possibly not the case with the default file repo configuration, which is "/".
What is the error thrown at server-side?
comment:3 Changed 8 years ago by JuergeN
I found the error. It is due to the following config property:
m4.host.url = https://my.server.tld/
In my config I was missing the trailing slash. That's why the pictures were not found after they were uploaded successfuly.
We need to make sure here, how the URL should be configured. Are all plugins expecting a trailing slash? If so, we should write this into the config file, that the URL always needs to end with a tralinig slash or otherwise make sure programmatically, that this will not cause an error.
dm48-images-0.9.9 has problem with image files containing spaces. Could this be the problem?
This is fixed in 0.9.10:
http://download.deepamehta.de/dm48-images-0.9.10.jar