{"id":473,"date":"2018-05-23T16:10:12","date_gmt":"2018-05-23T20:10:12","guid":{"rendered":"https:\/\/pressbooks-dev.library.yorku.ca\/scalar\/?post_type=chapter&#038;p=473"},"modified":"2018-05-23T16:16:59","modified_gmt":"2018-05-23T20:16:59","slug":"importing-media","status":"publish","type":"chapter","link":"https:\/\/pressbooks-dev.library.yorku.ca\/scalar\/chapter\/importing-media\/","title":{"raw":"Importing Media","rendered":"Importing Media"},"content":{"raw":"There are a variety of ways to add media to your Scalar project. In this chapter, we will review how to add media: From a hard drive, from the internet and affiliated archives, from websites, and from York's digital repository.\r\n<h4><\/h4>\r\n<h4><strong>Local Media Files From a Hard Drive<\/strong><\/h4>\r\nTo import a media file from a local hard drive, select <strong>Upload file<\/strong> (Dashboard), or <strong>Local media files<\/strong>\u00a0(Back to Book) in the drop down as a source in the drop down.\r\n\r\nDashboard\r\n<img src=\"https:\/\/pressbooks-dev.library.yorku.ca\/scalar\/wp-content\/uploads\/sites\/7\/2017\/10\/Screen-Shot-2017-12-08-at-12.19.13.png\" alt=\"\" class=\"alignnone size-full wp-image-328\" width=\"1958\" height=\"866\" \/>\r\n\r\nBack to Book\r\n<img src=\"https:\/\/pressbooks-dev.library.yorku.ca\/scalar\/wp-content\/uploads\/sites\/7\/2017\/10\/Screen-Shot-2017-12-08-at-12.21.52-300x202.png\" alt=\"\" class=\"alignleft wp-image-329 size-medium\" width=\"300\" height=\"202\" \/>\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n<img src=\"http:\/\/pressbooks-dev.library.yorku.ca\/scalar\/wp-content\/uploads\/sites\/7\/2017\/10\/5b.-Import-Homepage-image.gif\" alt=\"\" class=\"alignnone size-full wp-image-107\" width=\"1120\" height=\"863\" \/>\r\n\r\nOn the <strong>Import Local Media File<\/strong> page, assign a title and optional description. See the <a href=\"https:\/\/pressbooks-dev.library.yorku.ca\/scalar\/chapter\/metadata\/\">Metadata<\/a><a href=\"https:\/\/pressbooks-dev.library.yorku.ca\/scalar\/chapter\/metadata\/ \u200e\"><\/a> section for instructions on adding metadata. Scalar will import any IPTC or ID3 fields embedded in the file. IPTC metadata is typically embedded in JPEG and TIFF files, and ID3 in MP3 files, by external applications.\r\n<h4><\/h4>\r\n<h4><strong>Internet Media Files From Affiliated or Other Archives<\/strong><\/h4>\r\nImport via <strong>Affiliated archives<\/strong> or <strong>Other archives<\/strong> if the media file is located in one of the listed repositories. Select the archive, then add URL of the media file. After selecting the media file, there is an option to edit and add metadata.\r\n\r\n<img src=\"https:\/\/pressbooks-dev.library.yorku.ca\/scalar\/wp-content\/uploads\/sites\/7\/2017\/10\/import-media-4.png\" alt=\"\" class=\"alignnone size-full wp-image-330\" width=\"2028\" height=\"1518\" \/>\r\n<h4><\/h4>\r\n<h4><strong>Internet Media Files from Websites<\/strong><\/h4>\r\n<strong>Internet media files<\/strong> are\u00a0files located in online repositories, archives, and web pages. Select <strong>Internet URL<\/strong> (Dashboard) or <strong>Internet media files<\/strong> (Back to Book).\r\n<span style=\"background-color: #ffff00; color: #ff0000;\"><\/span>\r\n\r\nThe import page contains a number of options for importing the media file.\r\nAssign title and optional description. Steps for a basic upload select:\r\n<ul>\r\n \t<li>Layout: Basic<\/li>\r\n \t<li>Styling: Thumbnail. Update the media file link to create a thumbnail link.<\/li>\r\n \t<li>Metadata: See <a href=\"https:\/\/pressbooks-dev.library.yorku.ca\/scalar\/chapter\/metadata\/\">Metadata<\/a> <a href=\"https:\/\/pressbooks-dev.library.yorku.ca\/scalar\/chapter\/metadata\/%20%E2%80%8E\"><\/a> for instructions on adding metadata.<\/li>\r\n<\/ul>\r\n<h4><\/h4>\r\n<h4><strong>Importing Media Files Located in the <a href=\"https:\/\/digital.library.yorku.ca\/\">YorkSpace<\/a> or <a href=\"https:\/\/digital.library.yorku.ca\/\">York University Digital Library<\/a> (YUDL) Repositories<\/strong><\/h4>\r\nSince York Digitial Library is not listed as an affiliated archive, media from YUDL must be entered by selecting\u00a0<strong>Internet media files \/ Import menu<\/strong>.\r\n\r\n<em>To import media from YUDL:\r\n<\/em>\r\n<ul>\r\n \t<li>Find the image you're looking for by searching YUDL\u2028 (<a href=\"https:\/\/digital.library.yorku.ca\/yul-81368\/york-university-aerial-view-cn-tower-background\">Sample search in YUDL<\/a>)<\/li>\r\n \t<li>Make note of the media\u2019s URL. The URL contains the unique ID number, called a PID, assigned to the image, in this example: \u00a0<a href=\"https:\/\/digital.library.yorku.ca\/yul-81368\/york-university-aerial-view-cn-tower-background\">https:\/\/digital.library.yorku.ca\/yul-81368\/york-university-aerial-view-cn-tower-background<\/a>, the PID is <strong>yul-81368<\/strong>.<\/li>\r\n \t<li>It is recommended that you link to the web view of these derivatives using a data stream. There is a common way of writing out a data stream. Since we know that the object PID for this image is yul:81368, we can type in a uri using the following convention:\r\n<ul>\r\n \t<li>https:\/\/digital.library.yorku.ca\/islandora\/object\/yul:<strong>PID<\/strong>\/datastream\/<strong>FILETYPE<\/strong>\/view.<strong>filetype<\/strong><\/li>\r\n \t<li>Which then becomes: <a href=\"https:\/\/digital.library.yorku.ca\/islandora\/object\/yul:81368\/datastream\/JPG\/view.jpg\">https:\/\/digital.library.yorku.ca\/islandora\/object\/yul:<strong>81368<\/strong>\/datastream\/<strong>JPG<\/strong>\/view.<strong>jpg<\/strong><\/a><\/li>\r\n<\/ul>\r\n<\/li>\r\n<\/ul>\r\nThis is a link to the medium sized jpeg for display purposes.\r\n\r\nUsing the YUDL record as a guide, add the following information into each field:\r\n<p style=\"padding-left: 30px;\">\u25e6 Title: York University : aerial view with the CN Tower in background\r\n\u25e6 Description (optional): An aerial view highlighting some of York University\u2019s brutalist architecture\r\n\u25e6 Media file URL: https:\/\/digital.library.yorku.ca\/islandora\/object\/yul:81368\/datastream\/JPG\/view.jpg<\/p>\r\nOptions from the drop down menus. Choose the following:\r\n\r\n<p style=\"padding-left: 30px;\">\u25e6 Layout: Basic\r\n\u25e6 Styling: Thumbnail. Update the media file link to create a thumbnail link by replacing \u2018JPG\u2019 with \u2018TN\u2019: https:\/\/digital.library.yorku.ca\/islandora\/object\/yul:81368\/datastream\/TN\/view.jpg\u2028Or, upload a thumbnail image from your local hard drive.","rendered":"<p>There are a variety of ways to add media to your Scalar project. In this chapter, we will review how to add media: From a hard drive, from the internet and affiliated archives, from websites, and from York&#8217;s digital repository.<\/p>\n<h4><\/h4>\n<h4><strong>Local Media Files From a Hard Drive<\/strong><\/h4>\n<p>To import a media file from a local hard drive, select <strong>Upload file<\/strong> (Dashboard), or <strong>Local media files<\/strong>\u00a0(Back to Book) in the drop down as a source in the drop down.<\/p>\n<p>Dashboard<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pressbooks-dev.library.yorku.ca\/scalar\/wp-content\/uploads\/sites\/7\/2017\/10\/Screen-Shot-2017-12-08-at-12.19.13.png\" alt=\"\" class=\"alignnone size-full wp-image-328\" width=\"1958\" height=\"866\" srcset=\"https:\/\/pressbooks-dev.library.yorku.ca\/scalar\/wp-content\/uploads\/sites\/7\/2017\/10\/Screen-Shot-2017-12-08-at-12.19.13.png 1958w, https:\/\/pressbooks-dev.library.yorku.ca\/scalar\/wp-content\/uploads\/sites\/7\/2017\/10\/Screen-Shot-2017-12-08-at-12.19.13-300x133.png 300w, https:\/\/pressbooks-dev.library.yorku.ca\/scalar\/wp-content\/uploads\/sites\/7\/2017\/10\/Screen-Shot-2017-12-08-at-12.19.13-768x340.png 768w, https:\/\/pressbooks-dev.library.yorku.ca\/scalar\/wp-content\/uploads\/sites\/7\/2017\/10\/Screen-Shot-2017-12-08-at-12.19.13-1024x453.png 1024w, https:\/\/pressbooks-dev.library.yorku.ca\/scalar\/wp-content\/uploads\/sites\/7\/2017\/10\/Screen-Shot-2017-12-08-at-12.19.13-65x29.png 65w, https:\/\/pressbooks-dev.library.yorku.ca\/scalar\/wp-content\/uploads\/sites\/7\/2017\/10\/Screen-Shot-2017-12-08-at-12.19.13-225x100.png 225w, https:\/\/pressbooks-dev.library.yorku.ca\/scalar\/wp-content\/uploads\/sites\/7\/2017\/10\/Screen-Shot-2017-12-08-at-12.19.13-350x155.png 350w\" sizes=\"auto, (max-width: 1958px) 100vw, 1958px\" \/><\/p>\n<p>Back to Book<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pressbooks-dev.library.yorku.ca\/scalar\/wp-content\/uploads\/sites\/7\/2017\/10\/Screen-Shot-2017-12-08-at-12.21.52-300x202.png\" alt=\"\" class=\"alignleft wp-image-329 size-medium\" width=\"300\" height=\"202\" srcset=\"https:\/\/pressbooks-dev.library.yorku.ca\/scalar\/wp-content\/uploads\/sites\/7\/2017\/10\/Screen-Shot-2017-12-08-at-12.21.52-300x202.png 300w, https:\/\/pressbooks-dev.library.yorku.ca\/scalar\/wp-content\/uploads\/sites\/7\/2017\/10\/Screen-Shot-2017-12-08-at-12.21.52-768x518.png 768w, https:\/\/pressbooks-dev.library.yorku.ca\/scalar\/wp-content\/uploads\/sites\/7\/2017\/10\/Screen-Shot-2017-12-08-at-12.21.52-65x44.png 65w, https:\/\/pressbooks-dev.library.yorku.ca\/scalar\/wp-content\/uploads\/sites\/7\/2017\/10\/Screen-Shot-2017-12-08-at-12.21.52-225x152.png 225w, https:\/\/pressbooks-dev.library.yorku.ca\/scalar\/wp-content\/uploads\/sites\/7\/2017\/10\/Screen-Shot-2017-12-08-at-12.21.52-350x236.png 350w, https:\/\/pressbooks-dev.library.yorku.ca\/scalar\/wp-content\/uploads\/sites\/7\/2017\/10\/Screen-Shot-2017-12-08-at-12.21.52.png 816w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/pressbooks-dev.library.yorku.ca\/scalar\/wp-content\/uploads\/sites\/7\/2017\/10\/5b.-Import-Homepage-image.gif\" alt=\"\" class=\"alignnone size-full wp-image-107\" width=\"1120\" height=\"863\" \/><\/p>\n<p>On the <strong>Import Local Media File<\/strong> page, assign a title and optional description. See the <a href=\"https:\/\/pressbooks-dev.library.yorku.ca\/scalar\/chapter\/metadata\/\">Metadata<\/a><a href=\"https:\/\/pressbooks-dev.library.yorku.ca\/scalar\/chapter\/metadata\/ \u200e\"><\/a> section for instructions on adding metadata. Scalar will import any IPTC or ID3 fields embedded in the file. IPTC metadata is typically embedded in JPEG and TIFF files, and ID3 in MP3 files, by external applications.<\/p>\n<h4><\/h4>\n<h4><strong>Internet Media Files From Affiliated or Other Archives<\/strong><\/h4>\n<p>Import via <strong>Affiliated archives<\/strong> or <strong>Other archives<\/strong> if the media file is located in one of the listed repositories. Select the archive, then add URL of the media file. After selecting the media file, there is an option to edit and add metadata.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pressbooks-dev.library.yorku.ca\/scalar\/wp-content\/uploads\/sites\/7\/2017\/10\/import-media-4.png\" alt=\"\" class=\"alignnone size-full wp-image-330\" width=\"2028\" height=\"1518\" srcset=\"https:\/\/pressbooks-dev.library.yorku.ca\/scalar\/wp-content\/uploads\/sites\/7\/2017\/10\/import-media-4.png 2028w, https:\/\/pressbooks-dev.library.yorku.ca\/scalar\/wp-content\/uploads\/sites\/7\/2017\/10\/import-media-4-300x225.png 300w, https:\/\/pressbooks-dev.library.yorku.ca\/scalar\/wp-content\/uploads\/sites\/7\/2017\/10\/import-media-4-768x575.png 768w, https:\/\/pressbooks-dev.library.yorku.ca\/scalar\/wp-content\/uploads\/sites\/7\/2017\/10\/import-media-4-1024x766.png 1024w, https:\/\/pressbooks-dev.library.yorku.ca\/scalar\/wp-content\/uploads\/sites\/7\/2017\/10\/import-media-4-65x49.png 65w, https:\/\/pressbooks-dev.library.yorku.ca\/scalar\/wp-content\/uploads\/sites\/7\/2017\/10\/import-media-4-225x168.png 225w, https:\/\/pressbooks-dev.library.yorku.ca\/scalar\/wp-content\/uploads\/sites\/7\/2017\/10\/import-media-4-350x262.png 350w\" sizes=\"auto, (max-width: 2028px) 100vw, 2028px\" \/><\/p>\n<h4><\/h4>\n<h4><strong>Internet Media Files from Websites<\/strong><\/h4>\n<p><strong>Internet media files<\/strong> are\u00a0files located in online repositories, archives, and web pages. Select <strong>Internet URL<\/strong> (Dashboard) or <strong>Internet media files<\/strong> (Back to Book).<br \/>\n<span style=\"background-color: #ffff00; color: #ff0000;\"><\/span><\/p>\n<p>The import page contains a number of options for importing the media file.<br \/>\nAssign title and optional description. Steps for a basic upload select:<\/p>\n<ul>\n<li>Layout: Basic<\/li>\n<li>Styling: Thumbnail. Update the media file link to create a thumbnail link.<\/li>\n<li>Metadata: See <a href=\"https:\/\/pressbooks-dev.library.yorku.ca\/scalar\/chapter\/metadata\/\">Metadata<\/a> <a href=\"https:\/\/pressbooks-dev.library.yorku.ca\/scalar\/chapter\/metadata\/%20%E2%80%8E\"><\/a> for instructions on adding metadata.<\/li>\n<\/ul>\n<h4><\/h4>\n<h4><strong>Importing Media Files Located in the <a href=\"https:\/\/digital.library.yorku.ca\/\">YorkSpace<\/a> or <a href=\"https:\/\/digital.library.yorku.ca\/\">York University Digital Library<\/a> (YUDL) Repositories<\/strong><\/h4>\n<p>Since York Digitial Library is not listed as an affiliated archive, media from YUDL must be entered by selecting\u00a0<strong>Internet media files \/ Import menu<\/strong>.<\/p>\n<p><em>To import media from YUDL:<br \/>\n<\/em><\/p>\n<ul>\n<li>Find the image you&#8217;re looking for by searching YUDL\u2028 (<a href=\"https:\/\/digital.library.yorku.ca\/yul-81368\/york-university-aerial-view-cn-tower-background\">Sample search in YUDL<\/a>)<\/li>\n<li>Make note of the media\u2019s URL. The URL contains the unique ID number, called a PID, assigned to the image, in this example: \u00a0<a href=\"https:\/\/digital.library.yorku.ca\/yul-81368\/york-university-aerial-view-cn-tower-background\">https:\/\/digital.library.yorku.ca\/yul-81368\/york-university-aerial-view-cn-tower-background<\/a>, the PID is <strong>yul-81368<\/strong>.<\/li>\n<li>It is recommended that you link to the web view of these derivatives using a data stream. There is a common way of writing out a data stream. Since we know that the object PID for this image is yul:81368, we can type in a uri using the following convention:\n<ul>\n<li>https:\/\/digital.library.yorku.ca\/islandora\/object\/yul:<strong>PID<\/strong>\/datastream\/<strong>FILETYPE<\/strong>\/view.<strong>filetype<\/strong><\/li>\n<li>Which then becomes: <a href=\"https:\/\/digital.library.yorku.ca\/islandora\/object\/yul:81368\/datastream\/JPG\/view.jpg\">https:\/\/digital.library.yorku.ca\/islandora\/object\/yul:<strong>81368<\/strong>\/datastream\/<strong>JPG<\/strong>\/view.<strong>jpg<\/strong><\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>This is a link to the medium sized jpeg for display purposes.<\/p>\n<p>Using the YUDL record as a guide, add the following information into each field:<\/p>\n<p style=\"padding-left: 30px;\">\u25e6 Title: York University : aerial view with the CN Tower in background<br \/>\n\u25e6 Description (optional): An aerial view highlighting some of York University\u2019s brutalist architecture<br \/>\n\u25e6 Media file URL: https:\/\/digital.library.yorku.ca\/islandora\/object\/yul:81368\/datastream\/JPG\/view.jpg<\/p>\n<p>Options from the drop down menus. Choose the following:<\/p>\n<p style=\"padding-left: 30px;\">\u25e6 Layout: Basic<br \/>\n\u25e6 Styling: Thumbnail. Update the media file link to create a thumbnail link by replacing \u2018JPG\u2019 with \u2018TN\u2019: https:\/\/digital.library.yorku.ca\/islandora\/object\/yul:81368\/datastream\/TN\/view.jpg\u2028Or, upload a thumbnail image from your local hard drive.<\/p>\n","protected":false},"author":19,"menu_order":2,"template":"","meta":{"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-473","chapter","type-chapter","status-publish","hentry"],"part":56,"_links":{"self":[{"href":"https:\/\/pressbooks-dev.library.yorku.ca\/scalar\/wp-json\/pressbooks\/v2\/chapters\/473","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pressbooks-dev.library.yorku.ca\/scalar\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/pressbooks-dev.library.yorku.ca\/scalar\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/pressbooks-dev.library.yorku.ca\/scalar\/wp-json\/wp\/v2\/users\/19"}],"version-history":[{"count":5,"href":"https:\/\/pressbooks-dev.library.yorku.ca\/scalar\/wp-json\/pressbooks\/v2\/chapters\/473\/revisions"}],"predecessor-version":[{"id":479,"href":"https:\/\/pressbooks-dev.library.yorku.ca\/scalar\/wp-json\/pressbooks\/v2\/chapters\/473\/revisions\/479"}],"part":[{"href":"https:\/\/pressbooks-dev.library.yorku.ca\/scalar\/wp-json\/pressbooks\/v2\/parts\/56"}],"metadata":[{"href":"https:\/\/pressbooks-dev.library.yorku.ca\/scalar\/wp-json\/pressbooks\/v2\/chapters\/473\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/pressbooks-dev.library.yorku.ca\/scalar\/wp-json\/wp\/v2\/media?parent=473"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/pressbooks-dev.library.yorku.ca\/scalar\/wp-json\/pressbooks\/v2\/chapter-type?post=473"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/pressbooks-dev.library.yorku.ca\/scalar\/wp-json\/wp\/v2\/contributor?post=473"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/pressbooks-dev.library.yorku.ca\/scalar\/wp-json\/wp\/v2\/license?post=473"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}