Forskel mellem versioner af "Widget:Picasa"

Skift til: navigering, søgning
 
m
 
(14 mellemliggende versioner af den samme bruger vises ikke)
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|Widget:Picasa]]
 +
[[kategori:Picasa| Widget:Picasa]]
 +
Denne widget, som er kopieret fra [//mediawikiwidgets.org/{{FULLPAGENAMEE}} mediawikiwidgets.org], muliggør at indsætte '''[//picasaweb.google.com Picasa Webalbums]''' skærmelementer på din wiki hjemmeside.
  
It is created by [[mediawikiwiki:User:Sergey Chernyshev|Sergey Chernyshev]].
+
== Brug af {{PAGENAME}}-skærmelementet ==
 +
<nowiki>{{#widget:Picasa | user= | album= }}</nowiki>
 +
Flere mulige parametre (med default værdi):
 +
:''<nowiki>| width=400 | height=250 | autoplay=0 | interval=5 | captions=0</nowiki>''
  
Interval added by [http://www.mediawikiwidgets.org/User:VirtualMV Michael Verhaart (VirtualMV)]
+
== Eksempel ==
 
+
{{#widget:Picasa | user=ribewiki | album=5430294321700194337 | width=320 | height=500 | autoplay=1 | interval=5 | captions=1 }}
To insert this widget, use the following code:
+
</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>
 
 
<nowiki>{{#widget:Picasa
 
|user=mverhaart
 
|album=5534047443341151793
 
|width=300
 
|height=200
 
|captions=1
 
|autoplay=1
 
|interval=5
 
}}</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 '''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"
 
 
 
{{Template:Copy to your site}}
 
 
 
== Sample result ==
 
{{#widget:Picasa
 
|user=mverhaart
 
|album=5534047443341151793
 
|width=300
 
|height=200
 
|captions=1
 
|autoplay=1
 
|interval=5
 
}}
 
</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>
 

Nuværende version fra 2. aug 2012, 17:58

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