Warning: Constant MULTISITE already defined in /home/pbmalartu/public_html/wp-config.php on line 107

Warning: Constant SUBDOMAIN_INSTALL already defined in /home/pbmalartu/public_html/wp-config.php on line 108

Warning: Constant DOMAIN_CURRENT_SITE already defined in /home/pbmalartu/public_html/wp-config.php on line 109

Warning: Constant PATH_CURRENT_SITE already defined in /home/pbmalartu/public_html/wp-config.php on line 110

Warning: Constant SITE_ID_CURRENT_SITE already defined in /home/pbmalartu/public_html/wp-config.php on line 111

Warning: Constant BLOG_ID_CURRENT_SITE already defined in /home/pbmalartu/public_html/wp-config.php on line 112

Warning: The magic method Pressbooks\Book::__wakeup() must have public visibility in /home/pbmalartu/public_html/wp-content/plugins/pressbooks/inc/class-book.php on line 62

Warning: Cannot modify header information - headers already sent by (output started at /home/pbmalartu/public_html/wp-config.php:107) in /home/pbmalartu/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1758

Warning: Cannot modify header information - headers already sent by (output started at /home/pbmalartu/public_html/wp-config.php:107) in /home/pbmalartu/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1758

Warning: Cannot modify header information - headers already sent by (output started at /home/pbmalartu/public_html/wp-config.php:107) in /home/pbmalartu/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1758

Warning: Cannot modify header information - headers already sent by (output started at /home/pbmalartu/public_html/wp-config.php:107) in /home/pbmalartu/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1758

Warning: Cannot modify header information - headers already sent by (output started at /home/pbmalartu/public_html/wp-config.php:107) in /home/pbmalartu/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1758

Warning: Cannot modify header information - headers already sent by (output started at /home/pbmalartu/public_html/wp-config.php:107) in /home/pbmalartu/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1758

Warning: Cannot modify header information - headers already sent by (output started at /home/pbmalartu/public_html/wp-config.php:107) in /home/pbmalartu/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1758

Warning: Cannot modify header information - headers already sent by (output started at /home/pbmalartu/public_html/wp-config.php:107) in /home/pbmalartu/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1758
{"id":70,"date":"2018-09-20T20:35:41","date_gmt":"2018-09-20T20:35:41","guid":{"rendered":"https:\/\/pb.malartu.org\/opentextauthorguide\/chapter\/adding-and-editing-images\/"},"modified":"2018-09-20T20:35:41","modified_gmt":"2018-09-20T20:35:41","slug":"adding-and-editing-images","status":"publish","type":"chapter","link":"https:\/\/pb.malartu.org\/opentextauthorguide\/chapter\/adding-and-editing-images\/","title":{"rendered":"Adding and Editing Images"},"content":{"raw":"\n

How to Add an Image<\/h1>\nTo add an image to your textbook, begin by going to the web Page where you want to place the image. Select the spot where the image will go and mark with with your cursor. Then click on Add Media<\/strong> button.\n\n[caption id=\"attachment_453\" align=\"aligncenter\" width=\"619\"]\"AddMedia\"<\/a> Figure 1. Step one: find spot and click Add Media.[\/caption]\n\nIf you haven't uploaded any files into the Media Library yet, click on the Upload Files tab in the upper left corner and \"Select Files\" in the middle of that page. This will allow you to search for image files to add.\n
Note:<\/strong> files must be JPG, PNG or GIF. Other file formats will produce an error message and will not be accepted.<\/div>\n\n[caption id=\"attachment_455\" align=\"aligncenter\" width=\"500\"]\"MediaLibrary\"<\/a> Figure 2. Step two: Upload Media.[\/caption]\n\nIf you already have image files in your Media Library, simply select that tab and the image you want to add or insert. The selected item will be encircled by a blue border and have a blue\/white check mark in the top right corner.\n\n[caption id=\"attachment_460\" align=\"aligncenter\" width=\"300\"]\"InsertMedia\"<\/a> Figure 3. Step three: select image from Media Library.[\/caption]\n\n \n\nComplete this task by clicking on the Insert into post button in the bottom right corner.\n\n[caption id=\"attachment_461\" align=\"aligncenter\" width=\"283\"]\"InsertPost\"<\/a> Figure 4. Step four: Insert image into post (web page).[\/caption]\n\n
Note:<\/strong> an image file must be uploaded into the Media Library for use. You cannot add an image by linking to an external source.<\/div>\nFinally, make sure that your image is centred correctly and the right size. For the BC Open Textbook Project, we strongly recommend that:\n
    \n\t
  1. All images are centred<\/li>\n\t
  2. The width does not exceed 500 pixels<\/li>\n\t
  3. The length does not exceed 500 pixels<\/li>\n<\/ol>\nSee \"Editing an Image\" below for details on how to adjust an image.\n\nImages that do not follow the above guidelines often produce PDFs that are less readable. A PDF file is one of the many formats offered for most textbooks in our collection. It is also used to created request print-on-demand copies.\n

    Editing an Image<\/h1>\nTo change the placement or size of an image that has been added to a page, simply click anywhere on the image. You should see a pencil icon and an X. Use the pencil to edit the image and the X to delete the image.\n\n[caption id=\"attachment_463\" align=\"aligncenter\" width=\"300\"]\"EditImage\"<\/a> Figure 5. The pencil icon for editing an image.[\/caption]\n\nAfter you click on the pencil icon, the Image Details box will appear. Here you can:\n
      \n\t
    1. Enter text for the image's caption. (See Captions and Image Attributions <\/a>for details.)<\/li>\n\t
    2. Under DISPLAY SETTINGS, select \"Center\"<\/li>\n\t
    3. Using the \"Size\" dropdown list, determine if any of the sizes are the correct size for your image. If not, then select \"Custom Size\"...<\/li>\n<\/ol>\n[caption id=\"attachment_464\" align=\"aligncenter\" width=\"500\"]\"EditImage2\"<\/a> Figure 6. Placement and size of an image.[\/caption]\n\n3.    Using the Width OR Height boxes, enter the correct number of pixels. Note that changing one of these parameters, e.g. Width, will automatically adjust the other, e.g. Height.\n\n4.  Ensure that \"Media File\" is selected by the \"Link To\" dropdown list.\n\n[caption id=\"attachment_467\" align=\"aligncenter\" width=\"532\"]\"EditImage3\"<\/a> Figure 7. Customize the size and make sure image is linked to its Media File.[\/caption]\n\n5. Save changes by clicking the \"Update\" button in the lower right corner of the page.\n\n[caption id=\"attachment_468\" align=\"aligncenter\" width=\"300\"]\"EditImage4\"<\/a> Figure 8. Save with the Update button.[\/caption]\n","rendered":"

      How to Add an Image<\/h1>\n

      To add an image to your textbook, begin by going to the web Page where you want to place the image. Select the spot where the image will go and mark with with your cursor. Then click on Add Media<\/strong> button.<\/p>\n

      \"AddMedia\"<\/a><\/p>\n

      Figure 1. Step one: find spot and click Add Media.<\/p>\n<\/div>\n

      If you haven’t uploaded any files into the Media Library yet, click on the Upload Files tab in the upper left corner and “Select Files” in the middle of that page. This will allow you to search for image files to add.<\/p>\n

      Note:<\/strong> files must be JPG, PNG or GIF. Other file formats will produce an error message and will not be accepted.<\/div>\n
      \"MediaLibrary\"<\/a><\/p>\n

      Figure 2. Step two: Upload Media.<\/p>\n<\/div>\n

      If you already have image files in your Media Library, simply select that tab and the image you want to add or insert. The selected item will be encircled by a blue border and have a blue\/white check mark in the top right corner.<\/p>\n

      \"InsertMedia\"<\/a><\/p>\n

      Figure 3. Step three: select image from Media Library.<\/p>\n<\/div>\n

       <\/p>\n

      Complete this task by clicking on the Insert into post button in the bottom right corner.<\/p>\n

      \"InsertPost\"<\/a><\/p>\n

      Figure 4. Step four: Insert image into post (web page).<\/p>\n<\/div>\n

      Note:<\/strong> an image file must be uploaded into the Media Library for use. You cannot add an image by linking to an external source.<\/div>\n

      Finally, make sure that your image is centred correctly and the right size. For the BC Open Textbook Project, we strongly recommend that:<\/p>\n

        \n
      1. All images are centred<\/li>\n
      2. The width does not exceed 500 pixels<\/li>\n
      3. The length does not exceed 500 pixels<\/li>\n<\/ol>\n

        See “Editing an Image” below for details on how to adjust an image.<\/p>\n

        Images that do not follow the above guidelines often produce PDFs that are less readable. A PDF file is one of the many formats offered for most textbooks in our collection. It is also used to created request print-on-demand copies.<\/p>\n

        Editing an Image<\/h1>\n

        To change the placement or size of an image that has been added to a page, simply click anywhere on the image. You should see a pencil icon and an X. Use the pencil to edit the image and the X to delete the image.<\/p>\n

        \"EditImage\"<\/a><\/p>\n

        Figure 5. The pencil icon for editing an image.<\/p>\n<\/div>\n

        After you click on the pencil icon, the Image Details box will appear. Here you can:<\/p>\n

          \n
        1. Enter text for the image’s caption. (See Captions and Image Attributions <\/a>for details.)<\/li>\n
        2. Under DISPLAY SETTINGS, select “Center”<\/li>\n
        3. Using the “Size” dropdown list, determine if any of the sizes are the correct size for your image. If not, then select “Custom Size”…<\/li>\n<\/ol>\n
          \"EditImage2\"<\/a><\/p>\n

          Figure 6. Placement and size of an image.<\/p>\n<\/div>\n

          3.    Using the Width OR Height boxes, enter the correct number of pixels. Note that changing one of these parameters, e.g. Width, will automatically adjust the other, e.g. Height.<\/p>\n

          4.  Ensure that “Media File” is selected by the “Link To” dropdown list.<\/p>\n

          \"EditImage3\"<\/a><\/p>\n

          Figure 7. Customize the size and make sure image is linked to its Media File.<\/p>\n<\/div>\n

          5. Save changes by clicking the “Update” button in the lower right corner of the page.<\/p>\n

          \"EditImage4\"<\/a><\/p>\n

          Figure 8. Save with the Update button.<\/p>\n<\/div>\n","protected":false},"author":1,"menu_order":9,"template":"","meta":{"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"part":42,"_links":{"self":[{"href":"https:\/\/pb.malartu.org\/opentextauthorguide\/wp-json\/pressbooks\/v2\/chapters\/70"}],"collection":[{"href":"https:\/\/pb.malartu.org\/opentextauthorguide\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/pb.malartu.org\/opentextauthorguide\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/pb.malartu.org\/opentextauthorguide\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":0,"href":"https:\/\/pb.malartu.org\/opentextauthorguide\/wp-json\/pressbooks\/v2\/chapters\/70\/revisions"}],"part":[{"href":"https:\/\/pb.malartu.org\/opentextauthorguide\/wp-json\/pressbooks\/v2\/parts\/42"}],"metadata":[{"href":"https:\/\/pb.malartu.org\/opentextauthorguide\/wp-json\/pressbooks\/v2\/chapters\/70\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/pb.malartu.org\/opentextauthorguide\/wp-json\/wp\/v2\/media?parent=70"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/pb.malartu.org\/opentextauthorguide\/wp-json\/pressbooks\/v2\/chapter-type?post=70"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/pb.malartu.org\/opentextauthorguide\/wp-json\/wp\/v2\/contributor?post=70"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/pb.malartu.org\/opentextauthorguide\/wp-json\/wp\/v2\/license?post=70"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}