Forum .LRN Q&A: Problems using images inside a xml resource in a course using IMSLD

Request notifications

Hi,

i'm defining a new course using IMS-LD. The course has an activity which I defined as a xml file:

              <resource type="imsldcontent" identifier="resource-introduction" href="resources/introduction.xml">
                        <file href="resources/introduction.xml"/>
                </resource>

Inside the introduction.xml file I use some images and I can't see the images when I open the resource with dotLRN.

If I would define the activity as a HTML file, there wouldn't be any problem and dotLRN shows the images correctly.

Speaking with Olga, she told me that it seems to be problem of how is it managing the relative paths of the images.

In dotLRN, the paths created are:
- The course: http://server/dotlrn/classes/department/department.subject/class/file-storage/index?folder%5fid=14084

- The image is in:
http://server/dotlrn/classes/department/department.subject/class/file-storage/view/manifest_14060/resources/images/XXX.jpg

- The path created in the XML:
http://server/dotlrn/classes/department/department.subject/class/imsld/images/XXX.jpg

Do you know how can this be solved??

Thanks, javier