Picasa module - include album thumbnails into block

hga77 - August 5, 2009 - 11:15
Project:Picasa
Version:6.x-1.x-dev
Component:Miscellaneous
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi,

I've just installed the picasa module.

I then did the following:

- create new Picasa Album

- imported album from picasa (worked great with the progress bar for images as they are imported). Once done, I had photos in my drupal picasa album that consists of drupal picasa photos.

- Browsing to the picasa album node page, I would see the album thumbnails, made from all the photos within this album.

- Clicking on a thumbnail directs you to the picasa photo page, which displays the photo in full size.

Basically what I want to do is have the album thumbnails (like those that are created automatically on the Picasa Album page) display in the "About" node page, under the text about me. I believe the best way to achieve this is to create a block made up of those thumbnails, then displaying this block on the "About" page only. Correct me if this is not the best way to achieve this :)

So using Views, I began trying to create this thumbnail block which is made up of smaller images from my album.

See image screen of my block view attempt:
http://www.acolour.com/sites/default/files/picasa_block_view.jpg

This only listed the title of images and the link to the image on the drupal website. I couldn't find anything from the node fields within Views retrieve the path to the actual source of the images, with smaller sizes. Like this path:
http://lh6.ggpht.com/_5pZICjL4kps/SngM-tkTY2I/AAAAAAAAAYM/HYt75XKfmus/ph...

I did read that the author mentioning:

cyberswat said:
"...however, I haven't quite gotten around to writing the integration pieces to expose the picasa content types to views."

Maybe this is why I can't get enough data to build this simple block.

So what are my option?
Do I build my own block module that manualy queries the relevant picasa table, genrates the thumbnails, then themes and displays them?
Or is there another way?

My about page: http://www.acolour.com/about
My album page: http://www.acolour.com/random-photos

Any help appreciated :)

#1

hga77 - September 21, 2009 - 23:45

I have managed to build my own block module that queries the relevant picasa table, generates the thumbnails, then themes and displays them

 
 

Drupal is a registered trademark of Dries Buytaert.