How to make Picasa flash-based slideshow iPhone-friendly
If you embed Picasa’s flash-based slideshow on your blog, your iPhone/iPad visitors won’t see anything but the now famous broken plugin icon.
It’s a shame as Picasa is very user-friendly when accessed from an iPhone/iPad. A few lines of codes can indeed fix that:
if((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i)) || (navigator.userAgent.match(/iPad/i)))
document.write(‘<a href=”[URL to slideshow link]”><img src=”[URL to an image from the slideshow] width=”600″ /></a>’);
document.write(‘[Code provided by Picasa – Click on “Embed Slideshow” link]’);
Exemple here below. On the iPhone, just click on the picture…