Posts Tagged ‘download’

Embedded Slideshow for Your Side

July 26th, 2008 Comments off

Since phTagr supports Media RSS it is quite simple to embed a simple slideshow to your page via Googles Feed API. It supports a slide show control which loads the Media RSS and displays the images one by one. The API reference of Google’s slide show control is straight forward and with few changes your web side displays the newest public images of your gallery. Following example shows the embedded slideshow of images from the phTagr demo page:

  <script src='' type='text/javascript'></script>
  <script src='' type='text/javascript'></script>
  <style type='text/css'>
    .gss a img {
      border : none;
    .gss {
      width: 180px;
      height: 180px;
      color: #dddddd;
      background-color: #fff;
      padding: 5px;
      border: 1px solid #eee;
  <script type='text/javascript'>
    function load() {
      var samples = '';
      var options = {
        displayTime: 2500,
        transistionTime: 600,
        scaleImages: true,
        fullControlPanel: true,
        linkTarget: google.feeds.LINK_TARGET_BLANK
      new GFslideShow(samples, 'slideshow', options);
    google.load('feeds', '1');

  <div id='slideshow' class='gss'>Loading...</div>

I wrote a small WordPress gSlideShow widget plugin (based FlickrRSS) on  which embeds your Media RSS to your blog (download). Enjoy!