-
Notifications
You must be signed in to change notification settings - Fork 7
Broken link to lib/plugins/icalevents/ics.png
when using Doku's internal "Nice URL" engine
#13
Comments
lib/plugins/icalevents/ics.png
when using Doku's internal "Nice URL" enginelib/plugins/icalevents/ics.png
when using Doku's internal "Nice URL" engine
Indeed. Seems that |
Do you prefer it as an embedded base64 to follow Doku's behavior for the other inline icons? It would be just like the following:
It's 964 bytes, VS 723 bytes when not encoded, but saving a round-trip request where the headers and cookie might be bigger :) |
Thanks! Sounds nice if this is the standard way in Dokuwiki. However, then I think it's more efficient to define the image only once in CSS, see https://www.dokuwiki.org/devel:css#plugins_styles |
also dokuwiki core will inline small images to css itself |
Oh good point. Then it makes sense to put it in a proper CSS file and let DokuWiki decide if it should be inlined, I think. |
When using DokuWiki's internal "Nice URL" engine, the path of the "Add to calendar" image is broken as it's a relative link:
.../doku.php?id=page
turns to.../doku.php/page/
which changes the path to a virtual subdirectory (and more, when using namespaces). This breaks the path of the image in this file, this line.Maybe there is a function to get the base directory to build the link on that, or simply use an inline base64 as used for the other native links?
The text was updated successfully, but these errors were encountered: