Difference between revisions of "Widget:Picasa"
Jump to navigation
Jump to search
(Created page with "{{#widget:Picasa |user=victor.laskin |album=5196794879516869825 |width=600 |height=400 |captions=1 |autoplay=0 }}") |
|||
Line 1: | Line 1: | ||
+ | <noinclude> | ||
+ | This widget allows you to add [http://picasaweb.google.com/ Picasa Web] albums to your wiki page. | ||
+ | |||
+ | It is created by [[mediawikiwiki:User:Sergey Chernyshev|Sergey Chernyshev]]. | ||
+ | |||
+ | To insert this widget, use the following code: | ||
+ | |||
+ | <nowiki>{{#widget:Picasa | ||
+ | |user=victor.laskin | ||
+ | |album=5196794879516869825 | ||
+ | |width=600 | ||
+ | |height=400 | ||
+ | |captions=1 | ||
+ | |autoplay=0 | ||
+ | }}</nowiki> | ||
+ | |||
+ | == 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 '''hight''' are optional, 600x400 is a default | ||
+ | * '''autoplay''' - toggles autoplay on/off (default) | ||
+ | * '''captions''' - toggles captions on/off (default) | ||
+ | * '''authkey''' - auth key for private albums (see "RSS" link parameters) | ||
+ | |||
+ | {{Template:Copy to your site}} | ||
+ | == Sample result == | ||
{{#widget:Picasa | {{#widget:Picasa | ||
|user=victor.laskin | |user=victor.laskin | ||
Line 7: | Line 33: | ||
|autoplay=0 | |autoplay=0 | ||
}} | }} | ||
+ | </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}-->&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> |
Latest revision as of 23:35, 21 August 2010
This widget allows you to add Picasa Web albums to your wiki page.
It is created by Sergey Chernyshev.
To insert this widget, use the following code:
{{#widget:Picasa |user=victor.laskin |album=5196794879516869825 |width=600 |height=400 |captions=1 |autoplay=0 }}
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 hight are optional, 600x400 is a default
- autoplay - toggles autoplay on/off (default)
- captions - toggles captions on/off (default)
- authkey - auth key for private albums (see "RSS" link parameters)
Sample result