twitter
217
edits
Line 3: | Line 3: | ||
===HTML=== | ===HTML=== | ||
HTML uses the <img> tag for marking up a document to include an image. Images are included through the use of the image's URL. | HTML uses the <img> tag for marking up a document to include an image. Images are included through the use of the image's URL. | ||
'''Usage Examples''': | |||
*Minimal Use Structure: <img src=”http://litmuse.mga.edu/litwiki/images/0/0f/Wordpress-3.7.1-upload-multiple-files.png” /> | |||
*Typical Use Structure: <img src=”http://litmuse.mga.edu/litwiki/images/0/0f/Wordpress-3.7.1-upload-multiple-files.png” alt=”Dialog showing multiple file upload option.” align=”middle” width=”(# [pixels] or #%)” height=”(# [pixels] or #%)” /> | |||
*<img src=”http://litmuse.mga.edu/litwiki/images/0/0f/Wordpress-3.7.1-upload-multiple-files.png” alt=”Dialog showing multiple file upload option.” align=”middle” width=”348” height=”50%” /> | |||
Note: It is not recommended to use the width and height attributes. If the image is smaller than the coded dimensions, the image will be enlarged, possibly deformed. If the image is significantly larger then the full-sized image will be downloaded. A common mistake is to take a very large image and use the width and height attributes to make it appear smaller. | Note: It is not recommended to use the width and height attributes. If the image is smaller than the coded dimensions, the image will be enlarged, possibly deformed. If the image is significantly larger then the full-sized image will be downloaded. A common mistake is to take a very large image and use the width and height attributes to make it appear smaller. | ||
ALT means ''alternate text''. If an image becomes unavailable, the text tells the viewer what the image would have been. For vision impaired users, the alt text is used by the screen reader software to describe the image. | ALT means ''alternate text''. If an image becomes unavailable, the text tells the viewer what the image would have been. For vision impaired users, the alt text is used by the screen reader software to describe the image. | ||
---- | |||
===WordPress=== | ===WordPress=== | ||
Images can be added through uploading or inserted from a URL, or directly added by manually adding an image via HTML inside the source editor text box. | Images can be added through uploading or inserted from a URL, or directly added by manually adding an image via HTML inside the source editor text box. | ||
====Uploading==== | ====Uploading==== | ||
'''Multiple Files''' | |||
To upload several files at once. | To upload several files at once. | ||
*On the left side of the control panel, click Media. | |||
*Under Media click Add New. | |||
*Drag & Drop one or more images from your computer to inside the dashed box, or click the “Select Files” button in the center of the dashed box. Note that below the dashed box is a notification of “Maximum upload file size”. | |||
[[File:Wordpress-3.7.1-upload-multiple-files.png|394x218px]] | [[File:Wordpress-3.7.1-upload-multiple-files.png|394x218px]] | ||
'''Browser Uploader''' | |||
If the multi-file uploader is unavailable or exhibiting problems: | If the multi-file uploader is unavailable or exhibiting problems: | ||
*Click the browser uploader link under the dashed box. | |||
*Click the Browse... button, select your file from your computer, and then click Upload. Note the “Maximum upload file size”. | |||
[[File:Wordpress-3.7.1-upload-new-media.png|348x225px]] | [[File:Wordpress-3.7.1-upload-new-media.png|348x225px]] | ||
You may add images while you are creating a new post. Click the “Add Media” button above the left top of the text box. You may upload files using the preceding methods or you may '''Insert from URL'''. | You may add images while you are creating a new post. Click the “Add Media” button above the left top of the text box. You may upload files using the preceding methods or you may '''Insert from URL'''. | ||
*Click the Insert from URL link on the left. | |||
*Type or paste the image's URL into the top box. | |||
*Enter a caption under the image, and then the "Alt. Text". | |||
*Choose your alignment, then choose what happens when the image is clicked: Go to the original image, go to a custom URL, or nothing. If you click custom URL, type or paste the custom URL into the box provided below it. | |||
*Lastly, click the “Insert into Post” button at bottom right. | |||
[[File:Insert_from_URL_-_WordPress.png|400x154px]] | [[File:Insert_from_URL_-_WordPress.png|400x154px]] | ||