I figured out how to get the server path into a script I was working on. The script adds images to the Course display on "Course List by Category" page.This script was originally submitted by Alvaro Corugedo. I just fixed a bug and tightened up the path part of the script. It was tested on v1.3.1 but I cannot see any reason why it would not work with v1.4DEV.
Enclosed in the attached ZIP file you will find the following 5 files,
README__course_list_display_images_01.doc
README__course_list_display_images_01.pdf
README__course_list_display_images_01.txt
courseimage.html
courseimagealt.html
The three "README" files contain the instructions and example images for the script. The text "README" file is just the code and basic instructions for those "Advanced" folks. The two "HTML" files are empty. I still need to write these out.
An image of how the images should display on the course page is below,
Please leave any comments at this thread. They will be appreciated. This is my first "semi" contribution to Moodle so please be gentle.

WP1
