Hi
My wiki: lego.wikidot.com
I'm having some problems with printing pages with images from my wiki.
All images show correctly on all pages, however when choosing 'Print page' some pages refuse to show the images.
The weird thing is that it seems a bit random.
Works great: lego.wikidot.com/notebook-2
Does not work: lego.wikidot.com/notebook-11
From the source of the printing page I found that on the pages that does not work a (%%%UPLOAD_DOMAIN%%%) is inserted at the start of all image paths, and I'm quite sure that it is the problem, but i can not figure out the reason or the solution.
Looking at the source code, this is how it should look:
<img src="/local--files/notebook-2/Ultrasonic_sensor.jpg" alt="Ultrasonic_sensor.jpg" class="image" />
But it looks like this on some pages:
<img src="(%%%UPLOAD_ DOMAIN%%%)/local--files/notebook-2/Ultrasonic_sensor.jpg" alt="Ultrasonic_sensor.jpg" class="image" />
(I had to put a space in the UPLOAD_ DOMAIN to escape it.)
This is only a problem when attaching local images, so it can be solved by using the full path (http://lego.wdfiles.com/local--files/notebook-2/Ultrasonic_sensor.jpg), but it should work.
(I could probably have done the workaround ten times during the time i spent looking for a solution though.)