Easy gallery using picasaviewer

I needed a solution for one of my clients that I built a site for quite a while ago using plain old HTML. Johnny Frank Neilsen is a brilliant photographer residing in Denmark. I made simple gallery of thumbnail images that when you clicked on a thumbnail it gave you a larger image on it’s own page. Not only did you have to make a small and large image for each unique image and a page for each large image and a forward and back link for each page it was very difficult to move images around as you added them.

Old thumbnail style gallery - not easy to update

To be able to move images around is imperative for a photographer to show their new work. There are plenty of great services out there that would like you join for a monthly fee to use their databases like smugmug or zenfolio but that was way more than my client needed. He didn’t need all those services  like storefronts and customer packages. He just needed a way to easily show off his work to his buyers so he could land a contracts with an agency. He didn’t want to spend hours modifying his site. He just wanted to upload the photos and get away from the computer to go take more pictures.

Picasaviewer allowed me to to do everything above and still have it look like it was part of his site and not just an embedded Google gallery. Since the look of the galleries are driven by CSS you can customize it to look like your site. It also makes use of the slimbox script (a visual clone of the lightbox script) so the photos pop-up in the same window eliminating the need to make separate HTML pages. > See the scripts in action.


How it works

  1. First you need a picasa account.
  2. Make sure to upload some photos and make sure that the photos are set to public! If you don’t this script won’t display them.
  3. Download all these zipped files here
  4. Place them in the directory will upload to your server later
  5. Copy the link location to the javascript and CSS files into the head of your document that will house your gallery.
  6. Paste the table code that has the ID of container into the body of your web page
  7. In the file “picasaViewer.js” find the line that starts with var and change the part after the = to your account name. For example if your  picasa login is “myphotos” change it to that.
    var username    = ‘accountname’;
  8. Upload all your files to your web server and viola! You should have an interactive easy-to-maintain gallery that matches your exiting site!

4 thoughts on “Easy gallery using picasaviewer

  • December 31, 2010 at 6:31 pm
    Permalink

    Beneficial info and excellent design you got here! I want to thank you for sharing your ideas and putting the time into the stuff you publish! Great work!

  • January 6, 2011 at 3:47 pm
    Permalink

    Very interesting topic , regards for posting .

  • January 7, 2011 at 10:52 pm
    Permalink

    Hey Yes, I love this blog as well^^ It inspired me to open my own. Hopefully will make people to visit my site.

  • January 15, 2011 at 1:10 pm
    Permalink

    I recently came across this blog and have loved the information. I look forward to future articles and will definitely link to this and tell the people I know. Thanks.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.