I created a folder and uploaded a file called mat.jpg and mat1.gif into it. How do I reference this file in an IMG SRC= link?
Do you want to add an image to a webpage that you are creating with Moodle's html editor, (add resource, html text) ?? I am trying to do the same thing. When I upload an image, it is located at: http://my_server/moodle/data/2/image_name.jpg. If I add a resource, and choose html text as the type of resource, I get a html editor. Then if I click on the add image, I have to put in the full URL to the image.
Although, I have my DATA directory in my web directory which is NOT recommended.
My question is, how are users going to figure this out? Is there an easier way?
Yes, there needs to be a simpler way of picking images. I imagine a popup window from which you can preview and select the images, which then uses Javascript to insert the right HTML.
is there any place in this forum that continued these thoughts ?
Unfortunately, the popup window that Martin mentions doesn't exist yet. In the meantime, when I need to use an uploaded image within an IMG tag, I just go to the file browser in the course and copy the url of the uploaded file - see screenshot.