{"id":19537,"date":"2016-01-20T03:02:31","date_gmt":"2016-01-19T17:02:31","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/ITblog\/?p=19537"},"modified":"2016-01-21T22:59:46","modified_gmt":"2016-01-21T12:59:46","slug":"image-thumbnail-presentation-primer-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/image-thumbnail-presentation-primer-tutorial\/","title":{"rendered":"Image Thumbnail Presentation Primer Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"https:\/\/www.rjmprogramming.com.au\/Android\/NalaLuna.jpg\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"Image Thumbnail Presentation Primer Tutorial\" src=\"https:\/\/www.rjmprogramming.com.au\/Android\/NalaLuna.jpg\" title=\"Image Thumbnail Presentation Primer Tutorial\"  style=\"float:left;\"  \/><\/a><p class=\"wp-caption-text\">Image Thumbnail Presentation Primer Tutorial<\/p><\/div>\n<p>Were you around when we presented <a target=_blank title='Sim Card Primer Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/sim-card-primer-tutorial\/'>Sim Card Primer Tutorial<\/a>?  It had this content up the top &#8230;<\/p>\n<blockquote>\n<p>Sometimes with our dogs, <span>Luna and Nala <a target=_blank title='Nala and Luna' href='https:\/\/www.flickr.com\/photos\/rjmprogramming\/23446669213\/in\/album-72157662846566241\/'><img src='https:\/\/www.rjmprogramming.com.au\/Android\/NalaLuna.jpg' title='Nala and Luna' style='width: 60px;'><\/img><\/a><\/span> they do funny (or stupid) things that make me think of them as &#8220;Sinatra&#8217;s Dogs&#8221;.  Why Sinatra?  Well, it&#8217;s the name, sometimes, he used to refer to something as &#8220;stUpid&#8221; &#8230; and it runs in the family &#8230; he and Nancy (seem to remember) <a target=_blank href='http:\/\/www.azlyrics.com\/lyrics\/franksinatra\/somethinstupid.html' title=\"Somethin' Stupid lyrics\">sang<\/a> &#8230;<\/p>\n<blockquote><p>\nAnd then I go and spoil it all by saying something stUpid like &#8220;I love you&#8221;\n<\/p><\/blockquote>\n<\/blockquote>\n<p>?  The way the image above, of the dogs, was\/is presented &#8230;<\/p>\n<p><code><br \/>\n&lt;img src='https:\/\/www.rjmprogramming.com.au\/Android\/NalaLuna.jpg' title='Nala and Luna' <b>style='width: 60px;'<\/b>&gt;&lt;\/img&gt;<br \/>\n<\/code><\/p>\n<p> &#8230; like a <a target=_blank title='Thumbnail information from Wikipedia ... thanks' href='https:\/\/en.wikipedia.org\/wiki\/Thumbnail'>thumbnail<\/a>, with our nominal 60px (60 pixels) width, is of interest &#8230; if that&#8217;s what you are into?  The image has been shrunk, but to ensure that it shrinks proportionally, we do NOT specify the height, and in this way, can rely on the good sense of every web browser type we know, that that web browser will keep the image in proportion, as it shrinks the image but takes note of your 60px (pixel) width assignment, honouring that you are in charge &#8230; as if?!<\/p>\n<p>This can be done the other way around, as well, I (have not tested for sure, but) think by specifying a thumbnail height, but not specifying the thumbnail width.<\/p>\n<p>The tutorial picture above shows a non-thumbnail view of this same image for your perusal.  At this blog, we are <i>in a rut<\/i> with how we present this top part of a blog posting &#8230; for consistency &#8230; and today we show you the <i>raw<\/i> HTML that went into its WordPress blog posting CMS window (in HTML mode) below &#8230;<\/p>\n<p><code><br \/>\n&#091;caption id=\"\" align=\"alignnone\" width=\"220\" caption=\"Image Thumbnail Presentation Primer Tutorial\"&#093;&lt;a target=_blank href=\"https:\/\/www.rjmprogramming.com.au\/Android\/NalaLuna.jpg\"&gt;&lt;img style=\"border: 15px solid pink;\" alt=\"Image Thumbnail Presentation Primer Tutorial\" src=\"https:\/\/www.rjmprogramming.com.au\/Android\/NalaLuna.jpg\" title=\"Image Thumbnail Presentation Primer Tutorial\"  style=\"float:left;\"  \/&gt;&lt;\/a&gt;&#091;\/caption&#093;<br \/>\n<\/code><\/p>\n<p> &#8230; where the bits between <i>&lt;img <\/i> and <i> \/&gt;<\/i> (implied <i>&gt;&lt;\/img&gt;<\/i>) go towards what makes up the image that you see of the dogs, Luna and Nala.<\/p>\n<p>And so the lesson about the wisdom of web browsers concludes.  And you take them for granted?!<\/p>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d19537' onclick='var dv=document.getElementById(\"d19537\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/image\/\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d19537' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Were you around when we presented Sim Card Primer Tutorial? It had this content up the top &#8230; Sometimes with our dogs, Luna and Nala they do funny (or stupid) things that make me think of them as &#8220;Sinatra&#8217;s Dogs&#8221;. &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/image-thumbnail-presentation-primer-tutorial\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,30,37],"tags":[151,576,590,997,1059,1273,1274,1319,1404,1456,1498],"class_list":["post-19537","post","type-post","status-publish","format-standard","hentry","category-elearning","category-photography","category-tutorials","tag-blog","tag-html","tag-image","tag-programming","tag-resize","tag-thumbnail","tag-thumbnails","tag-tutorial","tag-web-browser","tag-wordpress","tag-zoom"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/19537"}],"collection":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/comments?post=19537"}],"version-history":[{"count":12,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/19537\/revisions"}],"predecessor-version":[{"id":19658,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/19537\/revisions\/19658"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=19537"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=19537"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=19537"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}