{"id":110,"date":"2014-08-22T10:47:44","date_gmt":"2014-08-22T10:47:44","guid":{"rendered":"http:\/\/art556.com\/?page_id=110"},"modified":"2014-08-22T10:47:44","modified_gmt":"2014-08-22T10:47:44","slug":"images","status":"publish","type":"page","link":"http:\/\/m.pebblerd.com\/interactivemedia\/topics\/unit-1-fundamentals\/images\/","title":{"rendered":"Images"},"content":{"rendered":"<h4><\/h4>\n<table border=\"0\" width=\"400\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td align=\"left\" valign=\"top\">\n<h4>jpg<\/h4>\n<p>For most photos, a .jpg will<br \/>\nhave the smallest file size.<\/td>\n<td align=\"left\" valign=\"top\">\n<h4>gif<\/h4>\n<p>Used\u00a0for transparent back,<br \/>\nanimated gif; smaller size for<br \/>\nimages with large blocks of solid color.<\/td>\n<td align=\"left\" valign=\"top\">\n<h4>png<\/h4>\n<p>Used for transparent back.<\/td>\n<\/tr>\n<tr>\n<td align=\"left\" valign=\"top\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.art556.com\/images\/birdPhoto122x106.jpg\" alt=\"bird photo\" width=\"122\" height=\"106\" \/><\/td>\n<td align=\"left\" valign=\"top\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.art556.com\/images\/birdPhoto122x106.jpg\" alt=\"bird photo\" width=\"122\" height=\"106\" \/><\/td>\n<td align=\"left\" valign=\"top\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.art556.com\/images\/bird.png\" alt=\"bird \" width=\"107\" height=\"101\" \/><\/td>\n<\/tr>\n<tr>\n<td align=\"left\" valign=\"top\"><\/td>\n<td align=\"left\" valign=\"top\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.art556.com\/images\/birdOnGreen122x101.png\" alt=\"bird on green back\" width=\"122\" height=\"101\" \/><\/td>\n<td align=\"left\" valign=\"top\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.art556.com\/images\/birdOnGreen122x101.png\" alt=\"bird on green back\" width=\"122\" height=\"101\" \/><\/td>\n<\/tr>\n<tr>\n<td align=\"left\" valign=\"top\"><\/td>\n<td align=\"left\" valign=\"top\"><\/td>\n<td align=\"left\" valign=\"top\"><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p class=\"p1\"><b>formatting<\/b><\/p>\n<ul>\n<li>Where press files are generally cmyk, web files are always rgb.<\/li>\n<li>Press files are generally 300dpi.\u00a0<span style=\"line-height: 1.714285714; font-size: 1rem;\">For now, web is generally 72dpi.\u00a0<\/span><\/li>\n<li>Most images used on a website will be a specific size and measured in pixels.<\/li>\n<li>When choosing a format for web images, you want to consider size and function.<\/li>\n<\/ul>\n<p><strong>most importantly:<\/strong><\/p>\n<ul>\n<li>Resize images. Don&#8217;t load print resolutions images onto your website. Smaller files will load faster. This is especially important when we build for mobile devices.<\/li>\n<li>Save for web. Don&#8217;t just save as a jpg.<\/li>\n<\/ul>\n<h2 class=\"p1\"><b>text in images<\/b><\/h2>\n<p class=\"p1\">Text within an image allows you to control typography and achieve a desired effect, but the text is:<\/p>\n<ul>\n<li>not selectable<\/li>\n<li>not searchable<\/li>\n<li>not zoomable<\/li>\n<li>not accessible<\/li>\n<li>not friendly for high-DPI devices.<\/li>\n<\/ul>\n<p class=\"p4\">The use of web fonts is always a better choice for displaying text.<\/p>\n<p class=\"p7\"><span class=\"s2\"><b>alt text<br \/>\n<\/b><\/span><b>alt : &lt;img alt=\u201dtext\u201d&gt;<\/b><\/p>\n<p class=\"p8\">The alt tag provides alternate text for an image<\/p>\n<ul>\n<li>provides accessibility for those using screen readers<\/li>\n<li>provides text if image is loading slowly<\/li>\n<li>provides text if images is not linking<\/li>\n<\/ul>\n<p class=\"p8\">Images placed in the css are defined to have only aesthetic value. You are not able to apply alt text to a css image. If an image has meaning, then use img element.**<\/p>\n<h2 class=\"p8\">Placing Images on a web page<\/h2>\n<p class=\"p8\"><strong>You can place an image with just html.<\/strong>\u00a0It will float to the top and left. If there is another image before it, this image will stack to the right if there is room, or fall to the next line if there is not room.<br \/>\n<span style=\"color: #236e25;\">&lt;img src=&#8221;images\/bird.png&#8221; width=&#8221;500&#8243; height=&#8221;507&#8243; alt=&#8221;bird with transparent back&#8221;&gt;<\/span><\/p>\n<p class=\"p8\"><strong><br \/>\nYou can place an image by using html and css together. <\/strong><br \/>\nThe html would read as:\u00a0<span style=\"color: #236e25;\">&lt;div class=&#8221;bird&#8221; img alt=\u201ddrawing of raven\u201d&gt;&lt;\/div&gt;. <a href=\"http:\/\/art556.com\/melanie\/unit_1\/images.html\">Click here<\/a> to see my example of both html code versions.<\/span><\/p>\n<p class=\"p8\"><span style=\"color: #236e25;\">The &lt;div&gt; tag (above) acts as a container for the image. The container or div is defined by\u00a0a class called &#8220;bird&#8221; and may look like this:<\/span><\/p>\n<p class=\"p8\">.bird {<br \/>\nposition: absolute;\u00a0\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <span style=\"color: #999999;\">\u00a0&#8212;&#8212;&#8212;&#8212;&gt;\u00a0the position is defined by &#8220;top&#8221; and &#8220;left&#8221;<\/span><br \/>\nleft: 400px; \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <span style=\"color: #999999;\">\u00a0&#8212;&#8212;&#8212;&#8212;&gt; this image will be 400 px from the left side\u00a0of the window<\/span><br \/>\ntop: 200px;\u00a0\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0<span style=\"color: #999999;\">&#8212;&#8212;&#8212;&#8212;&gt; this image will be 200 px from the top\u00a0side\u00a0of the window<\/span><br \/>\nwidth: 500px;\u00a0\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <span style=\"color: #999999;\">\u00a0&#8212;&#8212;&#8212;&#8212;&gt;\u00a0the box containing this image will be 500px wide<\/span><br \/>\nheight: 507px;\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0<span style=\"color: #999999;\">&#8212;&#8212;&#8212;&#8212;&gt;\u00a0the box containing this image will be 507px\u00a0tall<\/span><br \/>\nbackground-image: url (images\/bird.png)\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <span style=\"color: #999999;\">\u00a0 \u00a0&#8212;&#8212;&#8212;&#8212;&gt; this is where the image is found<\/span><br \/>\n}<\/p>\n<p class=\"p8\"><a href=\"http:\/\/art556.com\/melanie\/unit_1\/imagestyles.css\">Click here<\/a> to see my version of the class in the css file.<\/p>\n<p class=\"p8\"><strong>notes:<\/strong><\/p>\n<ul>\n<li>In the html, the class is written as &#8220;bird&#8221; (no period) and in the css, the class is written as &#8220;.bird&#8221; (with a period).<\/li>\n<li>The width and height define the box that contains the image. If the width and height are smaller than the image, the image will not show in its entirety.<\/li>\n<li>If the width and height are larger than the image, the images will repeat itself. You can add &#8220;background-repeat: no-repeat;&#8221; to the css to avoid repeating. Or you can build the box the exact size of the image to show the image only once.<\/li>\n<li>All images should be kept in an &#8220;images&#8221; folder in the root level of your site.<\/li>\n<\/ul>\n<h2 class=\"p8\"><strong>Using channels to create a png:<\/strong><\/h2>\n<p class=\"p8\">In class I demonstrated with a black and white image, but it can also be done with color images, especially those on a white or near white background. For color images, rather than creating a new layer, use the selection to delete the background on the image layer.<\/p>\n<ul>\n<li>Open image in Photoshop<\/li>\n<li>Select all<\/li>\n<li>Open channels window (window -&gt; channels).<\/li>\n<li>While in the channels dialog box, create a new channel with the page turn icon at the bottom of the window.<\/li>\n<li>Paste. Your image should show up in black and white.<\/li>\n<li>Work with levels (image -&gt; adjust -&gt; levels) and brush tool to create absolute whites and blacks. Grays area will be semi-transparent.<\/li>\n<li>Invert the channel. (image -&gt; adjust -&gt; invert)<\/li>\n<li>Select the channel you are working on. (Alpha 1?)<\/li>\n<li>Make a selection of it by hitting the circle with dashed lines at the bottom of the channels dialog box. (Or option-click on the icon box for the channel.)<\/li>\n<li>Inverse the selection. (select -&gt; inverse)<\/li>\n<li>Go to the layers pallet.<\/li>\n<li>Create a new layer.<\/li>\n<li>Fill the selection.<\/li>\n<li>Save for web as a png.<\/li>\n<\/ul>\n<h2 class=\"p1\"><b>exercise :<\/b><\/h2>\n<p class=\"p1\">Clean up\u00a0 your poem image as demonstrated in class.<\/p>\n<p><a href=\"http:\/\/art556.com\/wp-content\/uploads\/2014\/09\/raven.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-178 size-thumbnail\" src=\"http:\/\/art556.com\/wp-content\/uploads\/2014\/09\/raven-150x150.jpg\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><\/p>\n<ul>\n<li>Save in unit_1\/<b>images<\/b> folder.<\/li>\n<li>Place the images on a web page as demonstrated <a href=\"http:\/\/art556.com\/melanie\/unit_1\/images.html\">here.<\/a><br \/>\nMake sure you use both methods (html and css) to place the image.<\/li>\n<li>FTP necessary files to your site.<\/li>\n<li>View it in a browser. Review and adjust\u00a0as needed.<\/li>\n<\/ul>\n<p>Create a second texture image the same way and place it in the html file.<\/p>\n<p><a href=\"http:\/\/art556.com\/wp-content\/uploads\/2014\/09\/dirt1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-179 size-thumbnail\" src=\"http:\/\/art556.com\/wp-content\/uploads\/2014\/09\/dirt1-150x150.png\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><\/p>\n<p>Note that you will have more design flexibility if your images:<\/p>\n<ul>\n<li><span style=\"font-size: 1rem;\"><strong>Have transparent background:<\/strong> \u00a0makes them easy to overlap<\/span><\/li>\n<li><strong>Do not have hard edges:<\/strong> they can float in the middle of the page and closely interact with the text. It&#8217;s good design to have your text closely interact with the image. But avoid running text over an image. Rarely can both the text and image remain legible.<\/li>\n<li><strong>Are scalable:<\/strong> your images may need to be as large as 1500px wide or high, depending on how you use them in your design. Keep this in mind when scanning them. It would be better to start with a large image and scale it down for your final, than to try and make it larger.<\/li>\n<\/ul>\n<p>When working on your page layout in InDesign, your images can be:<\/p>\n<ul>\n<li>lightened: while the image is selected, go to &#8220;object&#8221; -&gt; &#8220;effects&#8221; to reduce opacity<\/li>\n<li>rotated<\/li>\n<li>scaled<\/li>\n<li>flipped<\/li>\n<li>repeated<\/li>\n<\/ul>\n<h2>examples :<\/h2>\n<p><a href=\"http:\/\/art556.com\/melanie\/unit_1\/images.html\">images.html<\/a><\/p>\n<p><a href=\"http:\/\/art556.com\/melanie\/unit_1\/imagestyles.css\">imagestyles.css<\/a><\/p>\n<h2>resources<\/h2>\n<p><a href=\"http:\/\/www.feedthebot.com\/titleandalttags.html\">about titles and tags<\/a><\/p>\n<p><a href=\"http:\/\/www.feedthebot.com\/tools\/alt\/\">image alt checke<\/a>r<\/p>\n<p><a href=\"http:\/\/christianheilmann.com\/2009\/02\/25\/so-how-do-you-add-alternative-text-to-background-images\/\">what about alt tags in css?<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>jpg For most photos, a .jpg will have the smallest file size. gif Used\u00a0for transparent back, animated gif; smaller size for images with large blocks of solid color. png Used for transparent back. formatting Where press files are generally cmyk, web files are always rgb. Press files are generally 300dpi.\u00a0For now, web is generally 72dpi.\u00a0 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":22,"menu_order":70,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-110","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"http:\/\/m.pebblerd.com\/interactivemedia\/wp-json\/wp\/v2\/pages\/110","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/m.pebblerd.com\/interactivemedia\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/m.pebblerd.com\/interactivemedia\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/m.pebblerd.com\/interactivemedia\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/m.pebblerd.com\/interactivemedia\/wp-json\/wp\/v2\/comments?post=110"}],"version-history":[{"count":0,"href":"http:\/\/m.pebblerd.com\/interactivemedia\/wp-json\/wp\/v2\/pages\/110\/revisions"}],"up":[{"embeddable":true,"href":"http:\/\/m.pebblerd.com\/interactivemedia\/wp-json\/wp\/v2\/pages\/22"}],"wp:attachment":[{"href":"http:\/\/m.pebblerd.com\/interactivemedia\/wp-json\/wp\/v2\/media?parent=110"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}