Forskel mellem versioner af "Widget:Picasa"
Hp (diskussion | bidrag) |
Hp (diskussion | bidrag) |
||
Linje 1: | Linje 1: | ||
<noinclude> | <noinclude> | ||
− | + | [[kategori:Widget]] | |
+ | [[kategori:Picasa| ]] | ||
− | + | Denne widget muliggør dig at tilføje [http://picasaweb.google.com/ Picasa Web] albums til din wiki side. | |
− | + | Konstrueret af [[mw:User:Sergey Chernyshev|Sergey Chernyshev]] og [http://www.mediawikiwidgets.org/User:VirtualMV Michael Verhaart (VirtualMV)] | |
− | + | For at indsætte denne widget, brug følgende kode: | |
<nowiki>{{#widget:Picasa | <nowiki>{{#widget:Picasa | ||
− | |user= | + | |user=ribewiki |
− | |album= | + | |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> | ||
− | |||
− | |||
− |
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