I have this Picasa module installed. How do I use it? How do I put a random image into the content of a page?

Comments

babaker’s picture

Once the module is installed an enabled, go to the Picasa Settings under the Site Configuration. You'll need to enter your Picasa username and you should already have some pictures available on Picasa Web. After that go to www.yoursite.com/albums and you should see your shared albums from Picasa.

to get the random image, just enable the Picasa Random Image block.

denso’s picture

Thanks, I had already done all that. How do I tell it to put the image in a certain place in the content of a page?

denso’s picture

Thanks, I had already done all that. How do I tell it to put the image in a certain place in the content of a page?

babaker’s picture

Well, my first guess would be you could set the block's position to be in the Content (rather than right or left side, etc.) and then configure it to only be on specific pages, etc. you could then change the look of the block through css.

I'm kind of a rookie when it comes to Drupal, so perhaps one of the veterans out there care to comment?

denso’s picture

Yes, I did that too. see http://www.charlottesville.cc/ for the results. I'll keep fooling with it. Thanks

cyberswat’s picture

Here's a method of modifying your templates to allow for precise control over placement of items like blocks. It should be able to give you the granular control your looking for.

http://drupal.org/node/29139

cyberswat’s picture

Assigned: Unassigned » cyberswat

I'll add detailed documentation and examples regarding this issue in the next release.

denso’s picture

The results of putting in the picasa only show a message: warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /home/.midget/dwoodriff/charlottesville.cc/modules/picasa/picasa.module on line 226.

The google picasa album is public, so I don't know what do do next. I tried uninstalling the picasa module, removing it and then re-installing it, but same result.

cyberswat’s picture

I modified the code to account for servers that have the php setting allow_url_fopen turned off. The patch/code is attached to http://drupal.org/node/136132

denso’s picture

I suppose at some point you will update the download file for the module so it can be used. It seems as sif it will be a really useful module. Thanks!

cyberswat’s picture

Status: Active » Closed (fixed)

That's correct. I'm testing and working a few more bug/feature requests into the code before releasing a new version. Enjoy!