{"id":1377,"date":"2020-01-21T13:14:29","date_gmt":"2020-01-21T21:14:29","guid":{"rendered":"https:\/\/www.hmc.edu\/communications\/?page_id=1377"},"modified":"2026-02-25T10:22:18","modified_gmt":"2026-02-25T18:22:18","slug":"images","status":"publish","type":"page","link":"https:\/\/www.hmc.edu\/communications\/wordpress-how-tos\/images\/","title":{"rendered":"WordPress: Images in Content"},"content":{"rendered":"\n<p>Images may be added within a web page\u2019s content.<\/p>\n\n\n\n<p class=\"is-style-mudd-highlighted-content\">Use the <a href=\"https:\/\/www.hmc.edu\/communications\/wordpress-how-tos\/featured-image\/\">Featured Image<\/a> functionality if you wish to only add a single image to the top of page. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Image Specifications<\/h2>\n\n\n\n<p>Please use the following specifications for images that you wish to add to pages.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">File Format<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>JPEG for photographs<\/li>\n\n\n\n<li>PNG is preferred for images with simple graphical elements like logos or pie charts<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Landscape Orientation<\/h3>\n\n\n\n<p>Landscape (i.e. wider than tall) images should be 768 pixels wide by 450 pixels high. When inserted into a page, they should be full-size and will therefore span the entire content area.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"450\" src=\"https:\/\/www.hmc.edu\/communications\/wp-content\/uploads\/sites\/19\/2024\/05\/768x450.png\" alt=\"Placeholder image\" class=\"wp-image-2089\" style=\"width:768px;height:auto\" srcset=\"https:\/\/www.hmc.edu\/communications\/wp-content\/uploads\/sites\/19\/2024\/05\/768x450.png 768w, https:\/\/www.hmc.edu\/communications\/wp-content\/uploads\/sites\/19\/2024\/05\/768x450-300x176.png 300w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><figcaption class=\"wp-element-caption\">768 x 450 pixels, 96 pixels per inch.<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Portrait Orientation<\/h3>\n\n\n\n<p>Portrait (i.e. taller than wide) images should be 358 pixels wide by 412 pixels high. When inserted into a page, they normally should be floated left, which means other content wraps around the image. The system will automatically limit the width of such images depending on the user&#8217;s device screen size.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"358\" height=\"412\" src=\"https:\/\/www.hmc.edu\/communications\/wp-content\/uploads\/sites\/19\/2024\/05\/358x412.png\" alt=\"\" class=\"wp-image-2088\" srcset=\"https:\/\/www.hmc.edu\/communications\/wp-content\/uploads\/sites\/19\/2024\/05\/358x412.png 358w, https:\/\/www.hmc.edu\/communications\/wp-content\/uploads\/sites\/19\/2024\/05\/358x412-261x300.png 261w\" sizes=\"auto, (max-width: 358px) 100vw, 358px\" \/><figcaption class=\"wp-element-caption\">358 x 412 pixels, 96 pixels per inch.<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Adding an Image<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Insert an Image Block<\/h3>\n\n\n\n<figure class=\"wp-block-image size-full is-resized is-style-alignleft img-border\"><img loading=\"lazy\" decoding=\"async\" width=\"592\" height=\"316\" src=\"https:\/\/www.hmc.edu\/communications\/wp-content\/uploads\/sites\/19\/2026\/02\/images-inserter.png\" alt=\"\" class=\"wp-image-2660\" style=\"width:583px;height:auto\" srcset=\"https:\/\/www.hmc.edu\/communications\/wp-content\/uploads\/sites\/19\/2026\/02\/images-inserter.png 592w, https:\/\/www.hmc.edu\/communications\/wp-content\/uploads\/sites\/19\/2026\/02\/images-inserter-300x160.png 300w\" sizes=\"auto, (max-width: 592px) 100vw, 592px\" \/><\/figure>\n\n\n\n<p>With the cursor in the block placeholder (where it says <code>Type \/ to chose a block<\/code>), type forward slash <kbd>\/<\/kbd> and either choose image or start typing &#8216;image&#8217; until the image option is visible for you to select.<\/p>\n\n\n\n<h3 class=\"wp-block-heading clear\">Upload or Select the Image<\/h3>\n\n\n\n<p>The image selector\/uploader appears the image&#8217;s location. As instructed, you may drag and drop an image, or select the <kbd>Upload<\/kbd> button to add a new image. You may also choose an existing image by selecting the <kbd>Media Library<\/kbd> button.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full img-border\"><img loading=\"lazy\" decoding=\"async\" width=\"1462\" height=\"462\" src=\"https:\/\/www.hmc.edu\/communications\/wp-content\/uploads\/sites\/19\/2026\/02\/images-media-uploader.png\" alt=\"\" class=\"wp-image-2661\" srcset=\"https:\/\/www.hmc.edu\/communications\/wp-content\/uploads\/sites\/19\/2026\/02\/images-media-uploader.png 1462w, https:\/\/www.hmc.edu\/communications\/wp-content\/uploads\/sites\/19\/2026\/02\/images-media-uploader-300x95.png 300w, https:\/\/www.hmc.edu\/communications\/wp-content\/uploads\/sites\/19\/2026\/02\/images-media-uploader-1024x324.png 1024w, https:\/\/www.hmc.edu\/communications\/wp-content\/uploads\/sites\/19\/2026\/02\/images-media-uploader-768x243.png 768w\" sizes=\"auto, (max-width: 1462px) 100vw, 1462px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Configure the Image<\/h3>\n\n\n\n<figure class=\"wp-block-image size-full is-style-alignleft img-border\"><img loading=\"lazy\" decoding=\"async\" width=\"558\" height=\"958\" src=\"https:\/\/www.hmc.edu\/communications\/wp-content\/uploads\/sites\/19\/2026\/02\/images-sidebar-config.png\" alt=\"\" class=\"wp-image-2666\" srcset=\"https:\/\/www.hmc.edu\/communications\/wp-content\/uploads\/sites\/19\/2026\/02\/images-sidebar-config.png 558w, https:\/\/www.hmc.edu\/communications\/wp-content\/uploads\/sites\/19\/2026\/02\/images-sidebar-config-175x300.png 175w\" sizes=\"auto, (max-width: 558px) 100vw, 558px\" \/><\/figure>\n\n\n\n<p>In the right sidebar settings you can configure the settings thus:<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">1. Styles<\/h4>\n\n\n\n<p>You can set the alignment of an image but note the following:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Portrait image: the preferred alignment for portrait images is <kbd>Align left<\/kbd>. This will wrap surrounding copy to the right of the image. An alternative is <kbd>Align right<\/kbd>, but use only to break up a page with multiple images. Avoid <kbd>Default<\/kbd> or <kbd>Align center<\/kbd> (both will be displayed in the same way. normally.<\/li>\n\n\n\n<li>Landscape images: as landscape images suit a full-width layout, choose <kbd>Default<\/kbd> or <kbd>Align center<\/kbd> and avoid <kbd>Align left<\/kbd> and <kbd>Align right<\/kbd><\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">2. Alternative Text<\/h4>\n\n\n\n<p>Alternative text is required for accessibility. Keep the text short and descriptive of what is in the image. Avoid including details that aren&#8217;t apparent in the image. Use the caption setting for additional information (see below)<\/p>\n\n\n\n<h4 class=\"wp-block-heading clear\" id=\"link\">3. Image Link<\/h4>\n\n\n\n<p>With the image selected in the editor you can access the image link setting in the toolbar. This provides options for when the user clicks or selects the image. <\/p>\n\n\n\n<p>While the image may be linked to another page or resource, you normally do not want to do this. A case where you may want to link an image is if the image were the cover of a document. By default when inserted, the image is not linked. <\/p>\n\n\n\n<p>You may also need to link the image to itself, for example if you wish the user to have a larger view of it. You do not normally need to do this for a decorative image but it may be necessary for an image that is conveying some kind of information.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"caption\">4. Caption<\/h4>\n\n\n\n<p>To add a visible label underneath an image, select the caption button. Text is entered underneath the image itself. Use the caption to add more information or context to an image.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full img-border\"><img loading=\"lazy\" decoding=\"async\" width=\"1550\" height=\"1038\" src=\"https:\/\/www.hmc.edu\/communications\/wp-content\/uploads\/sites\/19\/2026\/02\/image-link-caption.png\" alt=\"\" class=\"wp-image-2671\" srcset=\"https:\/\/www.hmc.edu\/communications\/wp-content\/uploads\/sites\/19\/2026\/02\/image-link-caption.png 1550w, https:\/\/www.hmc.edu\/communications\/wp-content\/uploads\/sites\/19\/2026\/02\/image-link-caption-300x201.png 300w, https:\/\/www.hmc.edu\/communications\/wp-content\/uploads\/sites\/19\/2026\/02\/image-link-caption-1024x686.png 1024w, https:\/\/www.hmc.edu\/communications\/wp-content\/uploads\/sites\/19\/2026\/02\/image-link-caption-768x514.png 768w, https:\/\/www.hmc.edu\/communications\/wp-content\/uploads\/sites\/19\/2026\/02\/image-link-caption-1536x1029.png 1536w\" sizes=\"auto, (max-width: 1550px) 100vw, 1550px\" \/><figcaption class=\"wp-element-caption\">This is the caption for the image.<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Images may be added within a web page\u2019s content. Use the Featured Image functionality if you wish to only add [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":995,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-1377","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.hmc.edu\/communications\/wp-json\/wp\/v2\/pages\/1377","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hmc.edu\/communications\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.hmc.edu\/communications\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.hmc.edu\/communications\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hmc.edu\/communications\/wp-json\/wp\/v2\/comments?post=1377"}],"version-history":[{"count":5,"href":"https:\/\/www.hmc.edu\/communications\/wp-json\/wp\/v2\/pages\/1377\/revisions"}],"predecessor-version":[{"id":2679,"href":"https:\/\/www.hmc.edu\/communications\/wp-json\/wp\/v2\/pages\/1377\/revisions\/2679"}],"up":[{"embeddable":true,"href":"https:\/\/www.hmc.edu\/communications\/wp-json\/wp\/v2\/pages\/995"}],"wp:attachment":[{"href":"https:\/\/www.hmc.edu\/communications\/wp-json\/wp\/v2\/media?parent=1377"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}