Forskel mellem versioner af "Widget:Picasa"

Skift til: navigering, søgning
Linje 14: Linje 14:
 
|captions=1
 
|captions=1
 
|autoplay=1
 
|autoplay=1
|interval=5
+
|interval=4
 
}}</nowiki>
 
}}</nowiki>
  
Linje 20: Linje 20:
 
* '''user''' - Picasa user name
 
* '''user''' - Picasa user name
 
* '''album''' - Picasa album ID, can be copied from Album RSS feed URL ("RSS" link at the bottom right corner of album page)
 
* '''album''' - Picasa album ID, can be copied from Album RSS feed URL ("RSS" link at the bottom right corner of album page)
* '''width''' and '''height''' are optional, 600x400 is a default
+
* '''width''' and '''height''' are optional, 200x300 is a default
 
* '''autoplay''' - toggles autoplay on/off (default)
 
* '''autoplay''' - toggles autoplay on/off (default)
 
* '''captions''' - toggles captions on/off (default)
 
* '''captions''' - toggles captions on/off (default)
Linje 39: Linje 39:
 
{{#widget:Picasa
 
{{#widget:Picasa
 
|user=ribewiki
 
|user=ribewiki
|album=5430294342101495970
+
|album=5430294321700194337
 
|width=300
 
|width=300
 
|height=200
 
|height=200
 
|captions=1
 
|captions=1
 
|autoplay=1
 
|autoplay=1
|interval=5
+
|interval=4
 
}}
 
}}
</noinclude><includeonly><embed type="application/x-shockwave-flash" src="http://picasaweb.google.com/s/c/bin/slideshow.swf" width="<!--{$width|default:600|escape:'html'}-->" height="<!--{$height|default:400|escape:'html'}-->" flashvars="host=picasaweb.google.com<!--{if isset($captions) and $captions}-->&captions=1<!--{/if}--><!--{if not isset($autoplay) or not $autoplay}-->&noautoplay=1<!--{/if}-->&interval=<!--{$interval|default:60|escape:'html'}-->&RGB=0x000000&feed=http%3A%2F%2Fpicasaweb.google.com%2Fdata%2Ffeed%2Fapi%2Fuser%2F<!--{$user|escape:'urlpathinfo'}-->%2Falbumid%2F<!--{$album|escape:'urlpathinfo'}-->%3Fkind%3Dphoto%26alt%3Drss<!--{if isset($authkey) and $authkey}-->%26authkey%3D<!--{$authkey|escape:'urlpathinfo'}--><!--{/if}-->" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed></includeonly>
+
</noinclude><includeonly><embed type="application/x-shockwave-flash" src="http://picasaweb.google.com/s/c/bin/slideshow.swf" width="<!--{$width|default:200|escape:'html'}-->" height="<!--{$height|default:300|escape:'html'}-->" flashvars="host=picasaweb.google.com<!--{if isset($captions) and $captions}-->&captions=1<!--{/if}--><!--{if not isset($autoplay) or not $autoplay}-->&noautoplay=1<!--{/if}-->&interval=<!--{$interval|default:60|escape:'html'}-->&RGB=0x000000&feed=http%3A%2F%2Fpicasaweb.google.com%2Fdata%2Ffeed%2Fapi%2Fuser%2F<!--{$user|escape:'urlpathinfo'}-->%2Falbumid%2F<!--{$album|escape:'urlpathinfo'}-->%3Fkind%3Dphoto%26alt%3Drss<!--{if isset($authkey) and $authkey}-->%26authkey%3D<!--{$authkey|escape:'urlpathinfo'}--><!--{/if}-->" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed></includeonly>

Versionen fra 16. apr 2012, 18:16

Denne widget muliggør dig at tilføje Picasa Web albums til din wiki side.

Konstrueret af Sergey Chernyshev og Michael Verhaart (VirtualMV)

For at indsætte denne widget, brug følgende kode:

{{#widget:Picasa
|user=ribewiki
|album=5430294321700194337
|width=300
|height=200
|captions=1
|autoplay=1
|interval=4
}}

Parameters

  • user - Picasa user name
  • album - Picasa album ID, can be copied from Album RSS feed URL ("RSS" link at the bottom right corner of album page)
  • width and height are optional, 200x300 is a default
  • autoplay - toggles autoplay on/off (default)
  • captions - toggles captions on/off (default)
  • interval - time between each slide (seconds) default = 60 seconds
  • authkey - auth key for private albums (see "RSS" link parameters)

Notes

To show images in a specific order:

  • Go to the Web album in Picasa
  • In MyPhotos >choose the album, Under edit choose Organise & ReOrder.
  • You can either choose the Date, Filename or just drag the photos into the order you want.

In order for this to work the Album must be set to public.

  • Start Picasa, go to Web albums (Top right)
  • Click into the album you want to show
  • Edit > Album Properties and change visibility to "Public on the Web"

Sample result