{"id":449,"date":"2010-06-04T05:08:19","date_gmt":"2010-06-04T05:08:19","guid":{"rendered":"http:\/\/www.jaillon.com\/blog\/?p=449"},"modified":"2014-04-29T10:18:02","modified_gmt":"2014-04-29T17:18:02","slug":"how-to-make-picasa-flash-based-slideshow-iphone-friendly","status":"publish","type":"post","link":"https:\/\/www.jaillon.com\/blog\/2010\/06\/04\/how-to-make-picasa-flash-based-slideshow-iphone-friendly\/","title":{"rendered":"How to make Picasa flash-based slideshow iPhone-friendly"},"content":{"rendered":"<p>If you embed Picasa&#8217;s flash-based slideshow on your blog, your iPhone\/iPad visitors won&#8217;t see anything but the now famous broken plugin icon.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/www.jaillon.com\/blog\/wp-content\/uploads\/2010\/06\/picasa.jpg\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-530\" src=\"https:\/\/i0.wp.com\/www.jaillon.com\/blog\/wp-content\/uploads\/2010\/06\/picasa.jpg?resize=500%2C333\" alt=\"picasa\" width=\"500\" height=\"333\" srcset=\"https:\/\/i0.wp.com\/www.jaillon.com\/blog\/wp-content\/uploads\/2010\/06\/picasa.jpg?w=500&amp;ssl=1 500w, https:\/\/i0.wp.com\/www.jaillon.com\/blog\/wp-content\/uploads\/2010\/06\/picasa.jpg?resize=300%2C199&amp;ssl=1 300w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><\/p>\n<p>It&#8217;s a shame as Picasa is very user-friendly when accessed from an iPhone\/iPad. A few lines of codes can indeed fix that:<\/p>\n<p>&#8212;<br \/>\n&lt;script language=javascript&gt;<br \/>\nif((navigator.userAgent.match(\/iPhone\/i)) || (navigator.userAgent.match(\/iPod\/i)) || (navigator.userAgent.match(\/iPad\/i)))<br \/>\n{<br \/>\ndocument.write(&#8216;&lt;a href=&#8221;[URL to slideshow link]&#8221;&gt;&lt;img src=&#8221;[URL to an image from the slideshow] width=&#8221;600&#8243; \/&gt;&lt;\/a&gt;&#8217;);<br \/>\n}<br \/>\nelse<br \/>\n{<br \/>\ndocument.write(&#8216;[Code provided by Picasa &#8211; Click on &#8220;Embed Slideshow&#8221; link]&#8217;);<br \/>\n}<br \/>\n&lt;\/script&gt;<br \/>\n&#8212;<\/p>\n<p>Exemple here below. On the iPhone, just click on the picture&#8230;<\/p>\n<p><script language=\"javascript\">\/\/ <![CDATA[\nif((navigator.userAgent.match(\/iPhone\/i)) || (navigator.userAgent.match(\/iPod\/i)) || (navigator.userAgent.match(\/iPad\/i)))\n{\ndocument.write('<a href=\"http:\/\/picasaweb.google.com\/m\/viewer#slideshow\/pjaillon\/5478784980785347345\"><img decoding=\"async\" src=\"http:\/\/lh6.ggpht.com\/_uuSazzOJFJU\/TAiN6TYsobI\/AAAAAAAALdQ\/NLmSzgPzODg\/s640\/IMG_0392.JPG\" width=\"400\" \/><\/a>');\n} \nelse\n{\ndocument.write('');\n}\n\/\/ ]]><\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you embed Picasa&#8217;s flash-based slideshow on your blog, your iPhone\/iPad visitors won&#8217;t see anything but the now famous broken plugin icon. It&#8217;s a shame as Picasa is very user-friendly when accessed from an&#46;&#46;&#46;<\/p>\n","protected":false},"author":2,"featured_media":530,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[42,21],"tags":[],"class_list":["post-449","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","category-techno"],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.jaillon.com\/blog\/wp-content\/uploads\/2010\/06\/picasa.jpg?fit=500%2C333&ssl=1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.jaillon.com\/blog\/wp-json\/wp\/v2\/posts\/449","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jaillon.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jaillon.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jaillon.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jaillon.com\/blog\/wp-json\/wp\/v2\/comments?post=449"}],"version-history":[{"count":0,"href":"https:\/\/www.jaillon.com\/blog\/wp-json\/wp\/v2\/posts\/449\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.jaillon.com\/blog\/wp-json\/wp\/v2\/media\/530"}],"wp:attachment":[{"href":"https:\/\/www.jaillon.com\/blog\/wp-json\/wp\/v2\/media?parent=449"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jaillon.com\/blog\/wp-json\/wp\/v2\/categories?post=449"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jaillon.com\/blog\/wp-json\/wp\/v2\/tags?post=449"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}