Forum .LRN Q&A: IMS-LD and images in content

Request notifications

Collapse
Posted by Emmanuelle Raffenne on
Hi Derick,

I'm using IMS-LD from oacs-5-4, testing with the same Jazz LD as last time. In this LD, some of the resources have images but they are not rendered in the content frame.

Any idea how it can be fixed?

Collapse
Posted by Derick Leony on
Hi Emmanuelle,

This is because the image URL is relative and the actual image file is not in the same directory than the renderer script. To fix this a <base> tag is added into the resource body (very bottom of imsld/www/imsld-content-serve.tcl), these lines were commented out in oacs-5-4 but are back in HEAD (and working well so far:).

Collapse
Posted by Emmanuelle Raffenne on
Thanks Derick :)

I've just copied that snippet from HEAD to my local and it works great now.