This however links to the image in it's current location, which may change over time, or if you have chosen an image in another Myplace module site, you may have access to see that image, but your students may not.
This solution outlines the corrects steps to ensure that any image you add to a Myplace HTML editor remains associated with it's text.
- Use the Image button on the Editor:
- Ignore the "Image Properties" box that appears, as it'll hint you towards providing a URL (which is fine, if you know that the image at the end of the URL wll always be accessible...i.e. not in Myplace).
- Instead hit the "Browse repositories" option
- Make sure the "Upload a file" is selected and "choose file", in much the way you would normally up load a file.
- Click the "Upload this file" button
- The Image properties dialog will have a URL in it now, and it will be a "draftfile.php" URL. Do not use this anywhere or change it!
- Complete the relevant accessibility attributes
- Hit "Save image"
- This will embed the image in the HTML editor for the question's "Question text", and if you view the source on this you'll see that it's got a draft file URL:
- This will be re-written upon saving, and will ensure that the image always stays with the question text. It becomes "part" of the question text itself.
This is really how *all* images should be added to Myplace pages (or wherever there is an HTML editor), as it means the associated image can *never* get lost (well it can if people putz with somethings).