MyBB Community Forums
[MyCode] Picasa - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Resources (https://community.mybb.com/forum-8.html)
+--- Forum: MyCodes (https://community.mybb.com/forum-117.html)
+--- Thread: [MyCode] Picasa (/thread-44216.html)



[MyCode] Picasa - ¤ Magic ¤ - 2009-01-27

Title : Picasa
Description : integre slideshow picasa

Expression: \[picasa\](.*?)\[/picasa\]

Remplacement :
<div style="background:#000;max-width:610px;margin:0 auto;text-align:center;line-height:0"><div style="width:100%;height:341px;padding:0;margin:0"><iframe style="width:100%;height:100%" src="http://picasaweb.google.com/$1#slideshow" frameBorder=0 scrolling=no></iframe></div><a href="http://picasaweb.google.com"><img style="border:none;padding:0;margin:0;float:right" src="http://btemplates.googlepages.com/picasa.png" title="Aller sur Picasa Web Albums" alt="Picasa Web Albums" /></a><a href="http://picasaweb.google.com/$1#slideshow" onclick="window.open(this.href,'Diaporama','type=fullWindow,fullscreen,toolbar=no,menubar=no,location=no,r esizable=yes,scrollbars=no,status=no');return false"><img style="border:none;padding:0;margin:0" src="http://btemplates.googlepages.com/pleinecran.gif" title="Voir en plein écran [Touche F11]" alt="Plein écran" /></a></div>


Activate ? : yes

Works just like this:
Exemple url : http://picasaweb.google.com/PsychopatheMagic/ImagesMagic#
mycode is : [picasa]PsychopatheMagic/ImagesMagic[/picasa]

Demo