Forskel mellem versioner af "Widget:Picasa"

Skift til: navigering, søgning
m
 
(5 mellemliggende versioner af den samme bruger vises ikke)
Linje 1: Linje 1:
 
<noinclude>
 
<noinclude>
[[kategori:Widget]][[kategori:Picasa| ]]
+
[[kategori:Widget|Widget:Picasa]]
Denne widget muliggør dig at tilføje [http://picasaweb.google.com/ Picasa Web] albums til din wiki side.
+
[[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.
  
Konstrueret af [[mw:User:Sergey Chernyshev|Sergey Chernyshev]] og [http://www.mediawikiwidgets.org/User:VirtualMV Michael Verhaart (VirtualMV)]
+
== 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>''
  
For at indsætte denne widget, brug følgende kode:
+
== Eksempel ==
 
+
{{#widget:Picasa | user=ribewiki | album=5430294321700194337 | width=320 | height=500 | autoplay=1 | interval=5 | captions=1 }}
<nowiki>{{#widget:Picasa
+
</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>
|user=ribewiki
 
|album=5430294321700194337
 
|width=300
 
|height=200
 
|captions=1
 
|autoplay=1
 
|interval=4
 
}}</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, 200x300 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 ==
 
{{#widget:Picasa
 
|user=ribewiki
 
|album=5430294321700194337
 
|width=300
 
|height=200
 
|captions=1
 
|autoplay=1
 
|interval=4
 
}}
 
</noinclude><includeonly><embed type="application/x-shockwave-flash" src="http://picasaweb.google.com/s/c/bin/slideshow.swf" width="<!--{$width|default:200|escape:'html'}-->" height="<!--{$height|default:300|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