<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.moodle.org/404/en/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Strobotta</id>
	<title>MoodleDocs - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://docs.moodle.org/404/en/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Strobotta"/>
	<link rel="alternate" type="text/html" href="https://docs.moodle.org/404/en/Special:Contributions/Strobotta"/>
	<updated>2026-04-22T14:57:00Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://docs.moodle.org/404/en/index.php?title=E-Mail_flag_for_users&amp;diff=146554</id>
		<title>E-Mail flag for users</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/404/en/index.php?title=E-Mail_flag_for_users&amp;diff=146554"/>
		<updated>2023-08-23T12:55:52Z</updated>

		<summary type="html">&lt;p&gt;Strobotta: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Changing the email flag of a user prevents/allows him from receiving emails from Moodle. Moodle contains a CLI script to change the email flag for one or many users at a time. Also, the current state whether the email flag is off or on can be displayed. A possible use case for this script is to automate process of scanning the log file of the mail transfer agent (e.g. postfix) and extract email addresses that are reported there. If an email is invalid/rejected for mail delivery, this address can be taken as an argument for the cli script to change the emailstop flag so that the user does not receive any further emails.&lt;br /&gt;
&lt;br /&gt;
The CLI script &amp;lt;code&amp;gt;emailstop.php&amp;lt;/code&amp;gt; is located in the &amp;lt;code&amp;gt;admin/cli&amp;lt;/code&amp;gt; of the Moodle installation.&lt;br /&gt;
&lt;br /&gt;
Accepted command line arguments are:&lt;br /&gt;
&lt;br /&gt;
    -h, --help              Print out a help screen that mentions all possible agruments that can be set.&lt;br /&gt;
    -e, --email=email       Specify an user by email, separate many users by comma.&lt;br /&gt;
    -i, --id=id             Specify an user by the internal database id, separate many ids by comma.&lt;br /&gt;
    -q, --quiet             Do not print anything out to stdout. The success of the script can still be controlled by the exit code.&lt;br /&gt;
    -s, --stop=0|1|off|on   Set a new value for emailstop flag&lt;br /&gt;
    -u, --username=username Specify user by username, separate many users by comma.&lt;br /&gt;
&lt;br /&gt;
To identify one or many users, only one of the options &amp;lt;code&amp;gt;-e&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-i&amp;lt;/code&amp;gt;, or &amp;lt;code&amp;gt;-u&amp;lt;/code&amp;gt; can be used. For convenient reasons many users can be set at once, and must be separated by a comma e.g. &amp;lt;code&amp;gt;php admin/cli/emailstop.php -u=student1,student2,student3&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;-q&amp;lt;/code&amp;gt; param prevents any output on stdout. Using &amp;lt;code&amp;gt;-q&amp;lt;/code&amp;gt; qithout the &amp;lt;code&amp;gt;-s&amp;lt;/code&amp;gt; argument doesn&#039;t make much sense then.&lt;br /&gt;
&lt;br /&gt;
Sample calls:&lt;br /&gt;
&lt;br /&gt;
    $ php admin/cli/emailstop.php --email=student1@example.org --stop=1 -q&lt;br /&gt;
&lt;br /&gt;
Disable receiving email for the user with email &#039;&#039;student1@example.org&#039;&#039;. No output is generated.&lt;br /&gt;
&lt;br /&gt;
    $ php admin/cli/emailstop.php --email=student1@example.org&lt;br /&gt;
&lt;br /&gt;
Show the status of the email stop flag for the user with email &#039;&#039;student1@example.org&#039;&#039;.&lt;/div&gt;</summary>
		<author><name>Strobotta</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/404/en/index.php?title=E-Mail_flag_for_users&amp;diff=146550</id>
		<title>E-Mail flag for users</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/404/en/index.php?title=E-Mail_flag_for_users&amp;diff=146550"/>
		<updated>2023-08-23T12:21:16Z</updated>

		<summary type="html">&lt;p&gt;Strobotta: Small adjustments&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Changing the email flag of a user prevents/allows him from receiving emails from Moodle. Moodle contains a CLI script to change the email flag for one or many users at a time. Also, the current state whether the email flag is off or on can be displayed. A possible use case for this script is to automate process of scanning the log file of the mail transfer agent (e.g. postfix) and extract email addresses that are reported there. If an email is invalid/rejected for mail delivery, this address can be taken as an argument for the cli script to change the emailstop flag so that the user does not receive and further emails.&lt;br /&gt;
&lt;br /&gt;
The CLI script &amp;lt;code&amp;gt;emailstop.php&amp;lt;/code&amp;gt; is located in the &amp;lt;code&amp;gt;admin/cli&amp;lt;/code&amp;gt; of the Moodle installation.&lt;br /&gt;
&lt;br /&gt;
Accepted command line arguments are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-h&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--help&amp;lt;/code&amp;gt; Print out a help screen that mentions all possible agruments that can be set.&lt;br /&gt;
* &amp;lt;code&amp;gt;-e&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--email=email&amp;lt;/code&amp;gt; Specify an user by email, separate many users by comma.&lt;br /&gt;
* &amp;lt;code&amp;gt;-i&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--id=id&amp;lt;/code&amp;gt; Specify an user by the internal database id, separate many ids by comma.&lt;br /&gt;
* &amp;lt;code&amp;gt;-q&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--quiet&amp;lt;/code&amp;gt; Do not print anything out to stdout. The success of the script can still be controlled by the exit code.&lt;br /&gt;
* &amp;lt;code&amp;gt;-s&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--stop=0|1|off|on&amp;lt;/code&amp;gt; Set a new value for emailstop flag&lt;br /&gt;
* &amp;lt;code&amp;gt;-u&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--username=username&amp;lt;/code&amp;gt; Specify user by username, separate many users by comma.&lt;br /&gt;
To identify one or many users, only one of the options &amp;lt;code&amp;gt;-e&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-i&amp;lt;/code&amp;gt;, or &amp;lt;code&amp;gt;-u&amp;lt;/code&amp;gt; can be used. For convenient reasons many users can be set at once, and must be separated by a comma e.g. &amp;lt;code&amp;gt;php admin/cli/emailstop.php -u=student1,student2,student3&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;-q&amp;lt;/code&amp;gt; param prevents any output on stdout. Using &amp;lt;code&amp;gt;-q&amp;lt;/code&amp;gt; qithout the &amp;lt;code&amp;gt;-s&amp;lt;/code&amp;gt; argument doesn&#039;t make much sense then.&lt;br /&gt;
&lt;br /&gt;
Sample calls:&lt;br /&gt;
* &amp;lt;code&amp;gt;php admin/cli/emailstop.php --email=student1@example.org --stop=1 -q&amp;lt;/code&amp;gt; Disable receiving email for the user with email &#039;&#039;student1@example.org&#039;&#039;. No output is generated.&lt;br /&gt;
* &amp;lt;code&amp;gt;php admin/cli/emailstop.php --email=student1@example.org&amp;lt;/code&amp;gt; Show the status of the email stop flag for the user with email &#039;&#039;student1@example.org&#039;&#039;.&lt;/div&gt;</summary>
		<author><name>Strobotta</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/404/en/index.php?title=E-Mail_flag_for_users&amp;diff=146549</id>
		<title>E-Mail flag for users</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/404/en/index.php?title=E-Mail_flag_for_users&amp;diff=146549"/>
		<updated>2023-08-23T12:15:33Z</updated>

		<summary type="html">&lt;p&gt;Strobotta: Created page with &amp;quot;Changing the email flag of a user prevents/allows him from receiving emails from Moodle. Moodle contains a CLI script to change the email flag for one or many users at a time....&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Changing the email flag of a user prevents/allows him from receiving emails from Moodle. Moodle contains a CLI script to change the email flag for one or many users at a time. Also the current state whether the email flag is off or on can be displayed. A possible use case for this script is to automate process of scanning the log file of the mail server (e.g. postfix) and extract email addresses that are reported there. If an email is invalid/rejected for mail delivery, this address can be taken as an argument for the cli script and the email flag can be sent to disable sending emails by Moodle for that particular address.&lt;br /&gt;
 &lt;br /&gt;
The CLI script &amp;lt;code&amp;gt;emailstop.php&amp;lt;/code&amp;gt; is located in the &amp;lt;code&amp;gt;admin/cli&amp;lt;/code&amp;gt; of the Moodle installation.&lt;br /&gt;
&lt;br /&gt;
Accepted command line arguments are:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;-h&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--help&amp;lt;/code&amp;gt; Print out a help screen that mentions all possible agruments that can be set.&lt;br /&gt;
* &amp;lt;code&amp;gt;-e&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--email=email&amp;lt;/code&amp;gt; Specify an user by email, separate many users by comma.&lt;br /&gt;
* &amp;lt;code&amp;gt;-i&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--id=id&amp;lt;/code&amp;gt; Specify an user by the internal database id, separate many ids by comma.&lt;br /&gt;
* &amp;lt;code&amp;gt;-q&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--quiet&amp;lt;/code&amp;gt; Do not print anything out to stdout. The success of the script can still be controlled by the exit code.&lt;br /&gt;
* &amp;lt;code&amp;gt;-s&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--stop=0|1|off|on&amp;lt;/code&amp;gt; Set a new value for emailstop flag&lt;br /&gt;
* &amp;lt;code&amp;gt;-u&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--username=username&amp;lt;/code&amp;gt; Specify user by username, separate many users by comma.&lt;br /&gt;
&lt;br /&gt;
To identify one or many users, only one of the options &amp;lt;code&amp;gt;-e&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-i&amp;lt;/code&amp;gt;, or &amp;lt;code&amp;gt;-u&amp;lt;/code&amp;gt; can be used. For convenient reasons many users can be set at once, and must be separated by a comma e.g. &amp;lt;code&amp;gt;php admin/cli/emailstop.php -u=student1,student2,student3&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;-q&amp;lt;/code&amp;gt; param prevents any output on stdout. Using &amp;lt;code&amp;gt;-q&amp;lt;/code&amp;gt; qithout the &amp;lt;code&amp;gt;-s&amp;lt;/code&amp;gt; argument doesn&#039;t make much sense then.&lt;br /&gt;
&lt;br /&gt;
Sample calls:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;php admin/cli/emailstop.php --email=student1@example.org --stop=1 -q&amp;lt;/code&amp;gt; Disable receiving email for the user with email &#039;&#039;student1@example.org&#039;&#039;. No output is generated.&lt;br /&gt;
* &amp;lt;code&amp;gt;php admin/cli/emailstop.php --email=student1@example.org&amp;lt;/code&amp;gt; Show the status of the email stop flag for the user with email &#039;&#039;student1@example.org&#039;&#039;.&lt;/div&gt;</summary>
		<author><name>Strobotta</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/404/en/index.php?title=Managing_accounts&amp;diff=146548</id>
		<title>Managing accounts</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/404/en/index.php?title=Managing_accounts&amp;diff=146548"/>
		<updated>2023-08-23T11:47:31Z</updated>

		<summary type="html">&lt;p&gt;Strobotta: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Managing a Moodle site}}&lt;br /&gt;
An administrator can perform various tasks relating to user accounts in &#039;&#039;Administration &amp;gt; Site administration &amp;gt; Users &amp;gt; Accounts&#039;&#039;. The links below provide more information:&lt;br /&gt;
&lt;br /&gt;
* [[Browse list of users]] - how to search for, find and edit user accounts&lt;br /&gt;
* [[Bulk user actions]] - how to message, confirm, download or perform other actions on a  large group of users globally&lt;br /&gt;
* [[Add a new user]] - how to create one individual user account&lt;br /&gt;
* User default preferences - for email display, format and digest type, and for forum auto-subscribe and forum tracking&lt;br /&gt;
* [[User profile fields]] -  how to create customised profile fields&lt;br /&gt;
* [[Cohorts]] - how to create cohorts of users&lt;br /&gt;
* [[E-Mail flag for users]] - how to enable or disable sending an email to users&lt;br /&gt;
* [[Upload users]] - how to  bulk create new user accounts&lt;br /&gt;
* [[Upload user pictures]] - how to bulk upload profile pictures for users&lt;br /&gt;
&lt;br /&gt;
* [[Additional name fields]]&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[Accounts FAQ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Accounts]]&lt;br /&gt;
&lt;br /&gt;
[[de:Nutzerverwaltung]]&lt;br /&gt;
[[es:Gestionando cuentas]]&lt;br /&gt;
[[it:Gestire gli account]]&lt;/div&gt;</summary>
		<author><name>Strobotta</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/404/en/index.php?title=Images&amp;diff=146123</id>
		<title>Images</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/404/en/index.php?title=Images&amp;diff=146123"/>
		<updated>2023-05-15T09:04:10Z</updated>

		<summary type="html">&lt;p&gt;Strobotta: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Working with media}}&lt;br /&gt;
Moodle allows teachers and students to upload and display images from a variety of sources via the image icon of the [[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. &lt;br /&gt;
{{MediaPlayer | url = https://youtu.be/Fa__2Wt_St4 | desc = Adding images}}&lt;br /&gt;
Moodle accepts .jpg,.png,.svg and .gif formats.&lt;br /&gt;
==Dragging and dropping an image==&lt;br /&gt;
*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 &#039;media drag and drop&amp;quot; is enabled in &#039;&#039;Administration &amp;gt; Site administration &amp;gt; Plugins &amp;gt; Activity modules &amp;gt; Label&#039;&#039;.&lt;br /&gt;
* See [[Using Label]] for more information.&lt;br /&gt;
==Copying and pasting an image==&lt;br /&gt;
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.&lt;br /&gt;
==Uploading and displaying an image from your computer==&lt;br /&gt;
*&#039;&#039;Note:&#039;&#039; It is a good idea to resize your image before uploading, rather than altering its dimensions online.&lt;br /&gt;
*With the editing turned on, go to where you want to display your image (e.g. in a course summary, label or page)&lt;br /&gt;
*Click the image icon as below&lt;br /&gt;
[[File:ImageIcon310.png]]&lt;br /&gt;
*Either enter the URL of an image which is already online or click &#039;Browse repositories&#039; to access the File picker&lt;br /&gt;
*Click [[Upload a file]]. Browse for and upload your image. For more information, see [[File picker]] &lt;br /&gt;
*Either add a description of the image or tick/check the box &#039;This image is decorative only&#039;.&lt;br /&gt;
*Alter the size and alignment if needed and save the image&lt;br /&gt;
[[File:ImageUpload310.png]]&lt;br /&gt;
==Editing an uploaded image==&lt;br /&gt;
If you need to edit the image once it has been uploaded,you can double-click on the image from within the [[Text editor|text editor]] and access the image properties window. &#039;&#039;Note it is much better to upload an image of the desired size rather than modifying it afterwards.&#039;&#039;&lt;br /&gt;
==Displaying an image already online==&lt;br /&gt;
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. &#039;&#039;Note:&#039;&#039; 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&#039;t own them yourself is not recommended.&lt;br /&gt;
[[de:Bilder]]&lt;br /&gt;
[[es:Imágenes]]&lt;br /&gt;
[[fr:Images]]&lt;br /&gt;
==Scale an image==&lt;br /&gt;
If images are uploaded and embedded into a page or question, these are &amp;quot;responsive&amp;quot; automatically. This means that if the image doesn&#039;t fit into the space available on the page, it is automatically downscaled. If the page contains more space than the image would actually require, then it is displayed in it&#039;s maximum size but not upscaled.&lt;br /&gt;
===Suitable images for scaling===&lt;br /&gt;
If images are scaled on a webpage naturally this leads to losses of the image quality. Image information either needs to be compressed when scaling down, or needs to be interpolated when upscaling is done. In both cases this may work well on ome image and not so good on others. Before uploading an image you may check this by opening the image in your browser and manually change the view, increase the percentage or lower it and check the result that is being displayed by the browser.&lt;br /&gt;
&lt;br /&gt;
Images that usually scale well are charts or images with a lot of lines. Small letters or symbols however, may not be well recognizable anymore because they are too small to read or contain too many artefacts when enlarged. Photographs usually do not look bad when they get downscaled. However, upscaling usually blurs them or reveal visible pixels.&lt;br /&gt;
&lt;br /&gt;
An exception are files of the type SVG. These files are so called vector graphics. The image doesn&#039;t store any pixels but definitions on how to draw geometric shapes. Depending on the scale these figures are&lt;br /&gt;
smaller or larger but drawn from scratch. Also letters and that kind still look good.&lt;br /&gt;
&lt;br /&gt;
===Upscaling of images===&lt;br /&gt;
&lt;br /&gt;
Sometimes it is desired that an image takes the whole with of the page even though the actual image is smaller. Then upscaling is needed. The image will be displayed in a larger size than it actually is. This doen work automatically but must be adapted when inserting an image in the text.&lt;br /&gt;
&lt;br /&gt;
[[File:Image scaling.png|alt=Atto editor editing text|thumb|none|Atto editor: change the img tag in the in source mode]]&lt;br /&gt;
[[File:tiny en scaling img1.png|alt=TinyMCE editor change to soure code view|thumb|none|TinyMCE editor: switch to source code view]]&lt;br /&gt;
[[File:tiny en scaling img2.png|alt=TinyMCE editor editing img tag in source mode|thumb|none|TinyMCE editor: change the img tag in the in source mode]]&lt;br /&gt;
&lt;br /&gt;
After inserting the image, the editors view must be changed into the source view (1). In the HTML the &amp;lt;img&amp;gt; tag must be searched (2). At the end of that &amp;lt;img&amp;gt; element there are two attributes, width and height (3). The value of the width attribute must be set to &amp;quot;100%&amp;quot;, the height attribute can be removed entirely. After that editor can be switched back to WYSIWYG mode or the page/question can be saved.&lt;br /&gt;
Note that whenever the image is reedited with the editor using the toolbar button and the dialogue, then the attributes are set back to the image size. Therefore, avoid reediting images with the editor or reapply the attribute changes.&lt;/div&gt;</summary>
		<author><name>Strobotta</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/404/en/index.php?title=File:tiny_en_scaling_img2.png&amp;diff=146125</id>
		<title>File:tiny en scaling img2.png</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/404/en/index.php?title=File:tiny_en_scaling_img2.png&amp;diff=146125"/>
		<updated>2023-05-15T08:54:11Z</updated>

		<summary type="html">&lt;p&gt;Strobotta: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;TinyMCE editor: Sourcecode view changing img-tag&lt;/div&gt;</summary>
		<author><name>Strobotta</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/404/en/index.php?title=File:tiny_en_scaling_img1.png&amp;diff=146124</id>
		<title>File:tiny en scaling img1.png</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/404/en/index.php?title=File:tiny_en_scaling_img1.png&amp;diff=146124"/>
		<updated>2023-05-15T08:53:26Z</updated>

		<summary type="html">&lt;p&gt;Strobotta: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;TinyMCE editor: change to source code view&lt;/div&gt;</summary>
		<author><name>Strobotta</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/404/en/index.php?title=Images&amp;diff=146121</id>
		<title>Images</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/404/en/index.php?title=Images&amp;diff=146121"/>
		<updated>2023-05-15T07:21:03Z</updated>

		<summary type="html">&lt;p&gt;Strobotta: Screenshot added to last changes about scaling an image.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Working with media}}&lt;br /&gt;
Moodle allows teachers and students to upload and display images from a variety of sources via the image icon of the [[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. &lt;br /&gt;
{{MediaPlayer | url = https://youtu.be/Fa__2Wt_St4 | desc = Adding images}}&lt;br /&gt;
Moodle accepts .jpg,.png,.svg and .gif formats.&lt;br /&gt;
==Dragging and dropping an image==&lt;br /&gt;
*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 &#039;media drag and drop&amp;quot; is enabled in &#039;&#039;Administration &amp;gt; Site administration &amp;gt; Plugins &amp;gt; Activity modules &amp;gt; Label&#039;&#039;.&lt;br /&gt;
* See [[Using Label]] for more information.&lt;br /&gt;
==Copying and pasting an image==&lt;br /&gt;
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.&lt;br /&gt;
==Uploading and displaying an image from your computer==&lt;br /&gt;
*&#039;&#039;Note:&#039;&#039; It is a good idea to resize your image before uploading, rather than altering its dimensions online.&lt;br /&gt;
*With the editing turned on, go to where you want to display your image (e.g. in a course summary, label or page)&lt;br /&gt;
*Click the image icon as below&lt;br /&gt;
[[File:ImageIcon310.png]]&lt;br /&gt;
*Either enter the URL of an image which is already online or click &#039;Browse repositories&#039; to access the File picker&lt;br /&gt;
*Click [[Upload a file]]. Browse for and upload your image. For more information, see [[File picker]] &lt;br /&gt;
*Either add a description of the image or tick/check the box &#039;This image is decorative only&#039;.&lt;br /&gt;
*Alter the size and alignment if needed and save the image&lt;br /&gt;
[[File:ImageUpload310.png]]&lt;br /&gt;
==Editing an uploaded image==&lt;br /&gt;
If you need to edit the image once it has been uploaded,you can double-click on the image from within the [[Text editor|text editor]] and access the image properties window. &#039;&#039;Note it is much better to upload an image of the desired size rather than modifying it afterwards.&#039;&#039;&lt;br /&gt;
==Displaying an image already online==&lt;br /&gt;
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. &#039;&#039;Note:&#039;&#039; 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&#039;t own them yourself is not recommended.&lt;br /&gt;
[[de:Bilder]]&lt;br /&gt;
[[es:Imágenes]]&lt;br /&gt;
[[fr:Images]]&lt;br /&gt;
==Scale an image==&lt;br /&gt;
If images are uploaded and embedded into a page or question, these are &amp;quot;responsive&amp;quot; automatically. This means that if the image doesn&#039;t fit into the space available on the page, it is automatically downscaled. If the page contains more space than the image would actually require, then it is displayed in it&#039;s maximum size but not upscaled.&lt;br /&gt;
===Suitable images for scaling===&lt;br /&gt;
If images are scaled on a webpage naturally this leads to losses of the image quality. Image information either needs to be compressed when scaling down, or needs to be interpolated when upscaling is done. In both cases this may work well on ome image and not so good on others. Before uploading an image you may check this by opening the image in your browser and manually change the view, increase the percentage or lower it and check the result that is being displayed by the browser.&lt;br /&gt;
&lt;br /&gt;
Images that usually scale well are charts or images with a lot of lines. Small letters or symbols however, may not be well recognizable anymore because they are too small to read or contain too many artefacts when enlarged. Photographs usually do not look bad when they get downscaled. However, upscaling usually blurs them or reveal visible pixels.&lt;br /&gt;
&lt;br /&gt;
An exception are files of the type SVG. These files are so called vector graphics. The image doesn&#039;t store any pixels but definitions on how to draw geometric shapes. Depending on the scale these figures are&lt;br /&gt;
smaller or larger but drawn from scratch. Also letters and that kind still look good.&lt;br /&gt;
===Upscaling of images===&lt;br /&gt;
Sometimes it is desired that an image takes the whole with of the page even though the actual image is smaller. Then upscaling is needed. The image will be displayed in a larger size than it actually is. This doen work automatically but must be adapted when inserting an image in the text.&lt;br /&gt;
[[File:Image scaling.png|alt=WYSIWYG Editor editing text|left|thumb|Edit the img tag in the WYSIWYG editor in source mode]]&lt;br /&gt;
After inserting the image, the editors view must be changed into the source view (1). In the HTML the &amp;lt;img&amp;gt; tag must be searched (2). At the end of that &amp;lt;img&amp;gt; element there are two attributes, width and height (3). The value of the width attribute must be set to &amp;quot;100%&amp;quot;, the height attribute can be removed entirely. After that editor can be switched back to WYSIWYG mode or the page/question can be saved.&lt;br /&gt;
Note that whenever the image is reedited with the editor using the toolbar button and the dialogue, then the attributes are set back to the image size. Therfore, avoid reediting images with the editor or reapply the attribute changes.&lt;/div&gt;</summary>
		<author><name>Strobotta</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/404/en/index.php?title=File:Image_scaling.png&amp;diff=146120</id>
		<title>File:Image scaling.png</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/404/en/index.php?title=File:Image_scaling.png&amp;diff=146120"/>
		<updated>2023-05-15T06:50:22Z</updated>

		<summary type="html">&lt;p&gt;Strobotta: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Edit an image tag in the editor source view.&lt;/div&gt;</summary>
		<author><name>Strobotta</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/404/en/index.php?title=Images&amp;diff=146117</id>
		<title>Images</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/404/en/index.php?title=Images&amp;diff=146117"/>
		<updated>2023-05-12T10:57:42Z</updated>

		<summary type="html">&lt;p&gt;Strobotta: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Working with media}}&lt;br /&gt;
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. &lt;br /&gt;
&lt;br /&gt;
{{MediaPlayer | url = https://youtu.be/Fa__2Wt_St4 | desc = Adding images}}&lt;br /&gt;
Moodle accepts .jpg,.png,.svg and .gif formats.&lt;br /&gt;
&lt;br /&gt;
==Dragging and dropping an image== &lt;br /&gt;
&lt;br /&gt;
*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  &#039;media drag and  drop&amp;quot; is enabled in &#039;&#039;Administration &amp;gt; Site administration &amp;gt; Plugins &amp;gt; Activity modules &amp;gt; Label&#039;&#039;.&lt;br /&gt;
* See [[Using Label]] for more information.&lt;br /&gt;
&lt;br /&gt;
==Copying and pasting an image==&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
==Uploading and displaying an image from your computer==&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;Note:&#039;&#039; It is a good idea to resize your image before uploading, rather than altering its dimensions online.&lt;br /&gt;
*With the editing turned on, go to where you want to display your image (e.g. in a course summary, label or page)&lt;br /&gt;
*Click the image icon as below&lt;br /&gt;
&lt;br /&gt;
[[File:ImageIcon310.png]]&lt;br /&gt;
&lt;br /&gt;
*Either enter the URL of an image which is already online or click &#039;Browse repositories&#039; to access the File picker&lt;br /&gt;
*Click [[Upload a file]]. Browse for and upload your image. For more information, see [[File picker]] &lt;br /&gt;
*Either add a description of the image or tick/check the box &#039;This image is decorative only&#039;.&lt;br /&gt;
*Alter the size and alignment if needed and save the image&lt;br /&gt;
&lt;br /&gt;
[[File:ImageUpload310.png]]&lt;br /&gt;
&lt;br /&gt;
==Editing an uploaded image==&lt;br /&gt;
&lt;br /&gt;
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. &#039;&#039;Note it is much better to upload an image of the desired size rather than modifying it afterwards.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Displaying an image already online==&lt;br /&gt;
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. &#039;&#039;Note:&#039;&#039; 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&#039;t own them yourself is not recommended.&lt;br /&gt;
&lt;br /&gt;
[[de:Bilder]]&lt;br /&gt;
[[es:Imágenes]]&lt;br /&gt;
[[fr:Images]]&lt;br /&gt;
&lt;br /&gt;
==Scale an image==&lt;br /&gt;
&lt;br /&gt;
If images are uploaded and embedded into a page or question, these are &amp;quot;responsive&amp;quot; automatically. This means that if the image doesn&#039;t fit into the space available on the page, it is automatically downscaled. If the page contains more space than the image would actually require, then it is displayed in it&#039;s maximum size but not upscaled.&lt;br /&gt;
&lt;br /&gt;
===Suitable images for scaling===&lt;br /&gt;
&lt;br /&gt;
If images are scaled on a webpage naturally this leads to losses of the image quality. Image information either needs to be compressed when scaling down, or needs to be interpolated when upscaling is done. In both cases this may work well on ome image and not so good on others. Before uploading an image you may check this by opening the image in your browser and manually change the view, increase the percentage or lower it and check the result that is being displayed by the browser.&lt;br /&gt;
&lt;br /&gt;
Images that usually scale well are charts or images with a lot of lines. Small letters or symbols however, may not be well recognizable anymore because they are too small to read or contain too many artefacts when enlarged. Photographs usually do not look bad when they get downscaled. However, upscaling usually blurs them or reveal visible pixels.&lt;br /&gt;
&lt;br /&gt;
An exception are files of the type SVG. These files are so called vector graphics. The image doesn&#039;t store any pixels but definitions on how to draw geometric shapes. Depending on the scale these figures are&lt;br /&gt;
smaller or larger but drawn from scratch. Also letters and that kind still look good.&lt;br /&gt;
&lt;br /&gt;
===Upscaling of images===&lt;br /&gt;
&lt;br /&gt;
Sometimes it is desired that an image takes the whole with of the page even though the actual image is smaller. Then upscaling is needed. The image will be displayed in a larger size than it actually is. This doen work automatically but must be adapted when inserting an image in the text.&lt;br /&gt;
&lt;br /&gt;
After inserting the image, the editors view must be changed into the source view (1). In the HTML the &amp;lt;img&amp;gt; tag must be searched (2). At the end of that &amp;lt;img&amp;gt; element there are two attributes, width and height (3). The value of the width attribute must be set to &amp;quot;100%&amp;quot;, the height attribute can be removed entirely. After that editor can be switched back to WYSIWYG mode or the page/question can be saved.&lt;br /&gt;
&lt;br /&gt;
Note that whenever the image is reedited with the editor using the toolbar button and the dialogue, then the attributes are set back to the image size. Therfore, avoid reediting images with the editor or reapply the attribute changes.&lt;/div&gt;</summary>
		<author><name>Strobotta</name></author>
	</entry>
</feed>