Forskel mellem versioner af "Widget:Picasa"

Skift til: navigering, søgning
Linje 10: Linje 10:
  
 
== Eksempel ==
 
== Eksempel ==
{{#widget:Picasa | user=ribewiki | album=5430294321700194337 | width=250 | height=300 | autoplay=1 | interval=5 | captions=0 }}
+
{{#widget:Picasa | user=ribewiki | album=5430294321700194337 | width=320 | height=500 | autoplay=1 | interval=5 | captions=1 }}
 
</noinclude><includeonly><embed type="application/x-shockwave-flash" src="http://picasaweb.google.com/s/c/bin/slideshow.swf" width="<!--{$width|default:400|escape:'html'}-->" height="<!--{$height|default:250|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:5|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:400|escape:'html'}-->" height="<!--{$height|default:250|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:5|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 18. apr 2012, 11:51

Denne widget, som er kopieret fra mediawikiwidgets.org, muliggør at indsætte Picasa Webalbums skærmelementer på din wiki hjemmeside.

Brug af Picasa-skærmelementet

{{#widget:Picasa | user= | album= }}

Flere mulige parametre (med default værdi):

| width=400 | height=250 | autoplay=0 | interval=5 | captions=0

Eksempel