-

Note: You are currently viewing documentation for Moodle 3.10. Up-to-date documentation for the latest stable version of Moodle may be available here: Images.

Images: Difference between revisions

From MoodleDocs
No edit summary
(26 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Working with media}}
{{Working with media}}
Moodle allows teachers and students to upload and display images from a variety of  sources via the image icon of the [[HTML editor|text editor.]]Course pages can be enhanced with images (or banners) in each section. Assignments can include images for extra clarification.  Images attached to forum posts or quiz questions will appear embedded.
Moodle allows teachers and students to upload and display images from a variety of  sources via the image icon of the [[Atto editor]]. Course pages can be enhanced with images (or banners) in each section. Assignments can include images for extra clarification.  Images attached to forum posts or quiz questions will appear embedded.  


Moodle accepts .jpg,.png and .gif formats.
{{MediaPlayer | url = https://youtu.be/LbI3dTQCL_o | desc = Adding images}}
Moodle accepts .jpg,.png,.svg and .gif formats.
 
==Dragging and dropping an image==
 
*Images may be dragged and dropped directly into  the [[Atto editor]]  if you are using a supported browser (not IE 9, Safari 6 or below or earlier versions of Firefox) and can be dragged and dropped directly onto the course page if the editing is turned on  and  'media drag and  drop" is enabled in ''Administration > Site administration > Plugins > Activity modules > Label''.
* See [[Using Label]] for more information.
 
==Copying and pasting an image==
 
In Moodle 3.9 onwards, images can be copied from anywhere and pasted into the [[Atto editor]]. For example, you can copy and paste an image from a word-processed document or  take a screenshot, copy it to your clipboard and then paste it into the Atto editor.


==Uploading and displaying an image from your computer==
==Uploading and displaying an image from your computer==


*''Note:'' It is a good idea to resize your image before uploading, rather than altering its dimensions online.
*''Note:'' It is a good idea to resize your image before uploading, rather than altering its dimensions online.
*With the editing turned on, access the [[HTML editor|text editor]] where you want to display your image (eg, in a course summary,label or page)
*With the editing turned on, go to where you want to display your image (e.g. in a course summary, label or page)
*Click the image icon as below
*Click the image icon as below


[[File:Imageicon.png]]
[[File:ImageIcon310.png]]


*Click into ''Find or upload an image''
*Either enter the URL of an image which is already online or click 'Browse repositories' to access the File picker
*Click [[Upload a file]]. Browse for and upload your image. For more information, see [[File picker]]
*Either add a description of the image or tick/check the box 'This image is decorative only'.
*Alter the size and alignment if needed and save the image


[[File:Findoruploadimage.png]]
[[File:ImageUpload310.png]]


*Click [[Upload a file]]. Browse for and upload your image. For more information, see [[File picker]]
==Editing an uploaded image==
*Add a description of the image(1) and click ''Insert'' (2)
 
[[File:Uploadedimage.png]]


*Save the changes.
If you need to edit the image once it has been uploaded,you can double-click on the image from within the [[Text editor| Atto text editor]] and access the image properties window. ''Note it is much better to upload an image of the desired size rather than modifying it afterwards.''


==Displaying an image already online==
==Displaying an image already online==
*If you have images available elsewhere online, you can display them too without the need to upload to Moodle. ''Note:'' If the image is taken offline, it will be replaced by a red X on your course page. Also, so-calledhot-linking [http://simple.wikipedia.org/wiki/Hot-linking]to images online if you don't own them yourself is not recommended.
If you have images available elsewhere online, you can display them too without the need to upload to Moodle by entering their online address in the Enter URL field. ''Note:'' If the image is taken offline, it will be replaced by a red X on your course page. Linking [http://simple.wikipedia.org/wiki/Hot-linking] to images online if you don't own them yourself is not recommended.
===Method 1===
*Follow the instructions for Uploading and Displaying an image as above.
*After clicking on ''Find or Upload an image'', paste the URL of the image you have online into the ''Image URL'' box.
*Add a description of the image and click ''Insert''.
*Save the changes.
 
===Method 2===
*It is possible to copy and paste an online image into the [[HTML|text editor]] in the same way that some students might copy and paste into a presentation. Care must be taken however that images pasted this way are not subject to copyright, and also that the image doesn't come with an unwanted hyperlink.
 
==Adding an image from image hosting sites like Flickr==
*It is possible to search and display an image from Flickr.
*For this, the [[Flickr public repository]] must be enabled by the administrator
*After clicking into Find or Upload an image, click on the Flickr repository to search for a suitable image.
 
[[File:Flickr.png]]
 
*The site administrator can also enable the [[Flickr repository|Flickr]] and [[Picasa web album repository|Picasa]] repositories for users to access images from their own accounts.
 
==Editing your image==
* After clicking the image icon in the [[HTML editor|text editor]], two tabs are available to help you better display your image:
 
[[File:Imagetabs.png]]
 
===Appearance===
*Choose from the Alignment drop down how you want the image to be set against any text. The block with the tree and text show how each option will display.
 
[[File:Imagealignment.jpg]]
 
*Resize the image in the dimensions boxes if desired.
*If desired, add a number (in pixels) for a vertical or horizontal space or border around the image.
 
===Advanced===


*This tab  allows you to set alternative images for mouseover/mouse out and to include miscellaneous information such as title, language direction, long description link etc.
==More on images==


[[File:Advancedtab.png]]
You will find some tips and advanced uses of images at [[More on images]].


[[de:Bilder]]
[[de:Bilder]]
[[es:Imágenes]]
[[fr:Images]]

Revision as of 01:20, 11 April 2021

Moodle allows teachers and students to upload and display images from a variety of sources via the image icon of the Atto editor. Course pages can be enhanced with images (or banners) in each section. Assignments can include images for extra clarification. Images attached to forum posts or quiz questions will appear embedded.

Adding images

Moodle accepts .jpg,.png,.svg and .gif formats.

Dragging and dropping an image

  • Images may be dragged and dropped directly into the Atto editor if you are using a supported browser (not IE 9, Safari 6 or below or earlier versions of Firefox) and can be dragged and dropped directly onto the course page if the editing is turned on and 'media drag and drop" is enabled in Administration > Site administration > Plugins > Activity modules > Label.
  • See Using Label for more information.

Copying and pasting an image

In Moodle 3.9 onwards, images can be copied from anywhere and pasted into the Atto editor. For example, you can copy and paste an image from a word-processed document or take a screenshot, copy it to your clipboard and then paste it into the Atto editor.

Uploading and displaying an image from your computer

  • Note: It is a good idea to resize your image before uploading, rather than altering its dimensions online.
  • With the editing turned on, go to where you want to display your image (e.g. in a course summary, label or page)
  • Click the image icon as below

ImageIcon310.png

  • Either enter the URL of an image which is already online or click 'Browse repositories' to access the File picker
  • Click Upload a file. Browse for and upload your image. For more information, see File picker
  • Either add a description of the image or tick/check the box 'This image is decorative only'.
  • Alter the size and alignment if needed and save the image

ImageUpload310.png

Editing an uploaded image

If you need to edit the image once it has been uploaded,you can double-click on the image from within the Atto text editor and access the image properties window. Note it is much better to upload an image of the desired size rather than modifying it afterwards.

Displaying an image already online

If you have images available elsewhere online, you can display them too without the need to upload to Moodle by entering their online address in the Enter URL field. Note: If the image is taken offline, it will be replaced by a red X on your course page. Linking [1] to images online if you don't own them yourself is not recommended.

More on images

You will find some tips and advanced uses of images at More on images.