{"id":63596,"date":"2024-05-13T03:01:59","date_gmt":"2024-05-12T17:01:59","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/ITblog\/?p=63596"},"modified":"2024-05-14T14:58:30","modified_gmt":"2024-05-14T04:58:30","slug":"image-element-dynamic-css-hashtag-sharing-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/image-element-dynamic-css-hashtag-sharing-tutorial\/","title":{"rendered":"Image Element Dynamic CSS Hashtag Sharing Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"https:\/\/www.rjmprogramming.com.au\/HTMLCSS\/image_filters_off_camera.html\"><img decoding=\"async\" style=\"float:left;border: 15px solid pink;\" alt=\"Image Element Dynamic CSS Hashtag Sharing Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/image_filters_off_camera_more.jpg\" title=\"Image Element Dynamic CSS Hashtag Sharing Tutorial\"   \/><\/a><p class=\"wp-caption-text\">Image Element Dynamic CSS Hashtag Sharing Tutorial<\/p><\/div>\n<p>Our recent realization that &#8220;hashtag sharing&#8221; could be the alternative to our &#8220;PHP mail&#8221; exploits of the past meant that &#8230;<\/p>\n<ul>\n<li>that &#8220;proof of concept&#8221; idea we had of involving the HTML canvas sharing conduit we wanted to tell about, as yet, has not happened because our CSS filters did not flow through via the [canvasContext].drawImage functionality &#8230; was not the end of our sharing endeavours because &#8230;<\/li>\n<li>hashtag sharing of the image outerHTML alternative approach &#8230;<\/li>\n<\/ul>\n<p> &#8230; comes into play, today.  We&#8217;ll see what can be done at the canvas element end regarding more &#8220;filter CSS flow through&#8221; research into the future. Meanwhile, also below see a mechanism by which users can tweak dropdown CSS styling options &#8230;<\/p>\n<p><code><br \/>\n function doemail() {<br \/>\n    var emailee=prompt('Please enter email address to share with.', '');<br \/>\n    if (emailee == null) { emailee=''; }<br \/>\n    if (emailee.indexOf('@') != -1) {<br \/>\n       document.getElementById('aemail').href='mailto:' + emailee + '?subject=Image%20Filters&body=' + encodeURIComponent(document.URL.split('?')[0].split('#')[0] + '#image=' + encodeURIComponent(document.getElementById('animg').outerHTML));<br \/>\n       document.getElementById('aemail').click();<br \/>\n    }<br \/>\n }<br \/>\n<br \/>\n function dosms() {<br \/>\n    var emailee=prompt('Please enter SMS number to share with.', '');<br \/>\n    if (emailee == null) { emailee=''; }<br \/>\n    if (emailee != '' && emailee.trim().replace(\/0\/g,'').replace(\/1\/g,'').replace(\/2\/g,'').replace(\/3\/g,'').replace(\/4\/g,'').replace(\/5\/g,'').replace(\/6\/g,'').replace(\/7\/g,'').replace(\/8\/g,'').replace(\/9\/g,'') == '') {<br \/>\n       document.getElementById('asms').href='sms:' + emailee + '&body=' + encodeURIComponent(document.URL.split('?')[0].split('#')[0] + '#image=' + encodeURIComponent(document.getElementById('animg').outerHTML));<br \/>\n       document.getElementById('asms').click();<br \/>\n    }<br \/>\n }<br \/>\n <br \/>\n function embellish() {<br \/>\n   var newstyling=prompt('Optionally change styling.', document.getElementById('selopt').innerText);<br \/>\n   if (newstyling == null) { newstyling=''; }<br \/>\n   if (newstyling != document.getElementById('selopt').innerText && newstyling.indexOf(':') != -1) {<br \/>\n      document.getElementById('selopt').innerText=newstyling;<br \/>\n      ais=document.getElementById('animg').src;<br \/>\n      document.getElementById('danimg').innerHTML=\"&lt;img style=\\\"\" + newstyling + \"\\\" id=animg src=\\\"\" + ais + \"\\\"&gt;&lt;\/img&gt;\";<br \/>\n   }<br \/>\n }<br \/>\n<\/code><\/p>\n<p>And so, onto yesterday&#8217;s <a title='Image Element Dynamic CSS Primer Tutorial' href='#iedcsspt'>Image Element Dynamic CSS Primer Tutorial<\/a> we have <a target=_blank href=\"https:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=https:\/\/www.rjmprogramming.com.au\/HTMLCSS\/image_filters_off_camera.html-GETME\">a changed<\/a> <a target=_blank href=\"https:\/\/www.rjmprogramming.com.au\/HTMLCSS\/image_filters_off_camera.html-GETME\">second draft<\/a> <a target=_blank href=\"https:\/\/www.rjmprogramming.com.au\/HTMLCSS\/image_filters_off_camera.html\">Image Element Dynamic CSS<\/a> web application you can also <a href='#myioc'>try below<\/a>.<\/p>\n<p><!--p>You can also see this play out at WordPress 4.1.1's <a target=_blank  href='\/\/www.rjmprogramming.com.au\/ITblog\/image-element-dynamic-css-hashtag-sharing-tutorial\/'>Image Element Dynamic CSS Hashtag Sharing Tutorial<\/a>.<\/p-->\n<hr>\n<p id='iedcsspt'>Previous relevant <a target=_blank title='Image Element Dynamic CSS Primer Tutorial' href='\/\/www.rjmprogramming.com.au\/ITblog\/image-element-dynamic-css-primer-tutorial\/'>Image Element Dynamic CSS Primer Tutorial<\/a> is shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"https:\/\/www.rjmprogramming.com.au\/HTMLCSS\/image_filters_off_camera.html\"><img decoding=\"async\" style=\"float:left;border: 15px solid pink;\" alt=\"Image Element Dynamic CSS Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/image_filters_off_camera.gif\" title=\"Image Element Dynamic CSS Primer Tutorial\"   \/><\/a><p class=\"wp-caption-text\">Image Element Dynamic CSS Primer Tutorial<\/p><\/div>\n<p>We&#8217;re curious about something and need to start a new &#8220;proof of concept&#8221; (first draft) phase involving, at this early stage &#8230;<\/p>\n<ul>\n<li>HTML <a target=_blank title='HTML img tag information from w3schools' href='http:\/\/www.w3schools.com\/tags\/tag_img.asp'>img<\/a> elements &#8230;<\/li>\n<li>applied dynamic user selected CSS (with an emphasis on dropdown suggested <a target=_blank title='CSS filters' href='https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/CSS\/filter'>filter<\/a> property usage) &#8230; powered by &#8230;<\/li>\n<li>browsed for or image URL defined content logic<\/li>\n<\/ul>\n<p>Luckily we have precedents for all this, and this can be a good start!  So please try our <a target=_blank href=\"https:\/\/www.rjmprogramming.com.au\/HTMLCSS\/image_filters_off_camera.html_GETME\">first draft<\/a> <a target=_blank href=\"https:\/\/www.rjmprogramming.com.au\/HTMLCSS\/image_filters_off_camera.html\">Image Element Dynamic CSS<\/a> web application you can also try below.<\/p>\n<p><iframe id=myioc src=\"https:\/\/www.rjmprogramming.com.au\/HTMLCSS\/image_filters_off_camera.html\" style=\"width:100%;height:2100px;\"><\/iframe><\/p>\n<p>Tomorrow&#8217;s work will see whether our theory comes to fruition!<\/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='#d63588' onclick='var dv=document.getElementById(\"d63588\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/property\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d63588' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n<hr>\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='#d63596' onclick='var dv=document.getElementById(\"d63596\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/share\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d63596' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Our recent realization that &#8220;hashtag sharing&#8221; could be the alternative to our &#8220;PHP mail&#8221; exploits of the past meant that &#8230; that &#8220;proof of concept&#8221; idea we had of involving the HTML canvas sharing conduit we wanted to tell about, &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/image-element-dynamic-css-hashtag-sharing-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,14,30,37],"tags":[1604,281,354,367,1683,380,431,2229,557,576,590,599,652,1861,929,997,3449,2232,1133,1137,1159,1209,1212,1319,1418],"class_list":["post-63596","post","type-post","status-publish","format-standard","hentry","category-elearning","category-event-driven-programming","category-photography","category-tutorials","tag-collaboration","tag-css","tag-dom","tag-dropdown","tag-dynamic","tag-email","tag-filter","tag-hash","tag-hashtag","tag-html","tag-image","tag-img","tag-javascript","tag-outerhtml","tag-photograph","tag-programming","tag-properties","tag-property","tag-share","tag-sharing","tag-sms","tag-style","tag-styling","tag-tutorial","tag-webpage"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/63596"}],"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=63596"}],"version-history":[{"count":6,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/63596\/revisions"}],"predecessor-version":[{"id":63616,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/63596\/revisions\/63616"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=63596"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=63596"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=63596"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}