Forskel mellem versioner af "Widget:Picasa"

Skift til: navigering, søgning
Linje 1: Linje 1:
 
<noinclude>
 
<noinclude>
This widget allows you to add [http://picasaweb.google.com/ Picasa Web] albums to your wiki page.
+
[[kategori:Widget]]
 +
[[kategori:Picasa| ]]
  
It is created by [[mediawikiwiki:User:Sergey Chernyshev|Sergey Chernyshev]].
+
Denne widget muliggør dig at tilføje [http://picasaweb.google.com/ Picasa Web] albums til din wiki side.
  
Interval added by [http://www.mediawikiwidgets.org/User:VirtualMV Michael Verhaart (VirtualMV)]
+
Konstrueret af [[mw:User:Sergey Chernyshev|Sergey Chernyshev]] og [http://www.mediawikiwidgets.org/User:VirtualMV Michael Verhaart (VirtualMV)]
  
To insert this widget, use the following code:
+
For at indsætte denne widget, brug følgende kode:
  
 
  <nowiki>{{#widget:Picasa
 
  <nowiki>{{#widget:Picasa
|user=mverhaart
+
|user=ribewiki
|album=5534047443341151793
+
|album=5430294321700194337
 
|width=300
 
|width=300
 
|height=200
 
|height=200
Linje 48: Linje 49:
 
}}
 
}}
 
</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: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>
 
[[Kategori:Widget]]
 
[[kategori:Picasa| ]]
 

Versionen fra 16. apr 2012, 15:54


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=5
}}

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, 600x400 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