|
Introduction
The Picasa Webalbum Integrator javascript library.
Featured IntroductionThis javascript library allows you to include your own Picasa Webalbum(s) into your own site. Your visitors will never know the photo's came from google. (unless they see the loading/traffic to and from google :-) DetailsWell, first get the correct files on your server:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script> //-->This can be your local jquery lib, but why not have it hosted by google
<link href="js/jquery.slimbox2/jquery.slimbox2.css" rel="stylesheet" type="text/css"/> //-- css used by slimbox
<script src="js/jquery.slimbox2/jquery.slimbox2.js" type="text/javascript"></script> //-- makes a nice popup when clicking on a photo, otherwise your users are redirected to google-picasa-web
<script src="js/jquery.blockUI.js" type="text/javascript"></script> //--optional, shows the loading-box, little overhead
<link href="css/pwi.css" rel="stylesheet" type="text/css"/> //--contains the css used by PWI, change the settings in this file to create your own skin
<script src="js/jquery.pwi.js" type="text/javascript"></script> //-- The actual script :-)
<script type="text/javascript">
$(document).ready(function() { //-- default jQuery call, do stuff when page is loaded
$("#container").pwi({ //--specify your DIV's ID here
username: 'tester' //--REPLACE WITH YOUR PICASA NAME!!!!
});
});
</script>
See the Configuring PWI page for more configuration options, and the Using Fancybox page on how to install and use the Fancybox plugin. | |
► Sign in to add a comment