Closed lu-p-us closed 1 year ago
@lu-p-us Is it possible to enable the php module fileinfo
in your installation?
I need to ask our server administrators. Am I right that the mime_content_type function is provided by the fileinfo module, which means: no module -> no function -> no imagebox?
https://github.com/flammy/imagebox/commit/f568f59b69235af9179772eb33a9b01f4350cf70 -> Line 50 and 59, right?
@lu-p-us I just released a version which checks if the function is present - this should help with your problem.
If you want support for vector graphics without a static width / height you have to enable fileinfo
otherwise you can use the plugin as before.
And the admin activated the fileinfo module on my side! Thanks for the quick fix.
Hello,
today I updated the Dokuwiki imagebox plugin from version 2019-10-13 to the latest version 2023-08-13 via extension manager.
This results in a red error box saying "Error: Call to undefined function mime_content_type()", that the imagebox plugin might be the cause and that more details have been written to the error log.
The error log says, for example:
If I delete the line
('[{{ a11:organig...'
from the page's source file, the same error is printed for the next occurrence, where the imagebox plugin is used. If I downgrade to version 2019-10-13, the error is gone.I am running Dokuwiki release 2023-04-04a "Jack Jackrum".