I have installed version 6.x-3.0 of brilliant-gallery, and it is indeed very neat. I got the gallery to show with no trouble using the FTP upload method, just following the instructions.

However I can't get the Picasa method to work at all.
-- I have created a Picasa web album, and can see the RSS feed OK by pasting the link into my browser, which works.
-- I put this into the [bg|...] tag as described.
-- I have an Input Format with only the bg filter enabled, so nothing else should be interfering with it.
-- The page when displayed contains absolutely nothing where the bg tag was.

Is there some action I have to take to get it to upload the images from picassa?

Any other ideas on what to try?

Thanks, Tony.


maynardsmith’s picture

I have found the immediate problem -- BG checks for http://picasaweb.google.com/ to identify a Picasa feed, and I have .co.uk.

Please change this test (brilliant_gallery.module line 523) so it picks up any valid URL.


Now I just have to find why it fails to Get my URL correctly.


PS - Sorry for the duplicate post - not sure what happened there.

maynardsmith’s picture

Category: support » bug

Two further comments:

1. As stated in the documentation, the Picasa album must be Public. Unfortunately, if one first tries to access the album while it is private, then changes it to Public, there is a problem. B_G creates its cache directory the first time, but can't fetch the pictures, so subsequent attempts just look in the cache, don't find anything, and carry on.

Perhaps if the cache directory is empty it should always go and try again. But this still won't fix the problem of synchronisation if the Picasa album contents are changed (which the documentation says will happen).

2. Line 23 of picasa.inc is exec('mkdir '.$mkdirek);. This does not work, and generates file open errors on each image. Replace with mkdir($mkdirek); which does work (at least on two systems I have tried it on).

Regards, Tony

maynardsmith’s picture

Component: Miscellaneous » Code
kwas’s picture

NOT work width 'http://picasaweb.google.com/.......'

Vacilando’s picture

Thanks, maynardsmith -- your point about differnet google TLDs is very valid, as is your point on exec.

I'll try to get to this asap, but there's so little time. I would most appreciate a patch. If you make one, alert me via my contact page and I'll apply it very quickly. Thanks.

Vacilando’s picture

Priority: Normal » Critical
Issue tags: +Novice
seangee’s picture

I had similar issues. Tried the suggestions above to no avail. The culprit was that I did not have the php curl lib installed. Now that I have installed this it works really well

maynardsmith’s picture

I also had the curl lib problem, but sorted that.

Re. patches - I don't have the means to create formal patches, but the code change for #2 is as above.

For #1 I just shortened the test, so that Line 523 is if (substr($thisfolder,0,24) == 'http://picasaweb.google.') {

Regards, Tony

nutkenz’s picture

I'm having a similar problem but CURL is enabled and I'm getting these errors:

warning: fopen(C:\Program Files\xampp\tmp/bg_picasa_9fdc0c891deec51c93d2a9cda254afe7/dsc02587.jpg) [function.fopen]: failed to open stream: No such file or directory in D:\Webs\Drupal 6\sites\all\modules\brilliant_gallery\picasa.inc on line 62.
warning: fwrite(): supplied argument is not a valid stream resource in D:\Webs\Drupal 6\sites\all\modules\brilliant_gallery\picasa.inc on line 64.
warning: fclose(): supplied argument is not a valid stream resource in D:\Webs\Drupal 6\sites\all\modules\brilliant_gallery\picasa.inc on line 65.

I'm using the sample gallery tag: [bg|http://picasaweb.google.com/data/feed/base/user/tjfulopp/albumid/5290148...

maynardsmith’s picture

As a non-expert in this module, it seems to be trying to use a temporary directory within your C:\Program Files. This does not look like a good idea. I think you need to set up a temporary directory within the website, and point at that.

Regards, Tony.

bubbletea’s picture

Hi guys,

I'm no programmer and still a noob with Drupal. I've applied the suggestions / recommendations that have been said on this thread except for the php curl lib, which seems to be the only last hope I have to get the Picasa RSS link working with BG. If php curl lib will solve my problem displaying Picasa pics on BG, how do you install it?

Vacilando’s picture

Status: Active » Fixed

Hello everybody -- thanks for the feedback.

Just published version 3.1 which:
* uses mkdir() as suggested by @maynardsmith (seems to work fine but may need testing on various systems)
* fixes the problem of http://picasaweb.google.com/ vs http://picasaweb.google.co.uk/ and other variants
* replaces the need for cURL by using Drupal's standard fetcher drupal_http_request


Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

der_sensemann’s picture

Version: 6.x-3.0 » 6.x-3.4
Status: Closed (fixed) » Needs work


it seems i've got the same (or a pretty similar) problem, but with version 3.4:

if i'm embedding the sample gallery [bg|http://picasaweb.google.com/data/feed/base/user/tjfulopp/albumid/5290148... it works, but if i'm embedding my gallery [bg|http://picasaweb.google.de/data/feed/base/user/stamm371/albumid/53773331... nothing is display.

It also won't change when i access it via picasaweb.google.com, nor when changing the album to public accessible.

do you have any idea where the difference might be?


debru’s picture

Title: Can't get Picasa Images » Unlisted Picasa Gallery is not displayed
Component: Code » Miscellaneous
Priority: Critical » Normal
Status: Needs work » Active

I find the same problem with Brilliant Gallery 3.4! The sample gallery can be displayed and so can my galleries if I set the to PUBLIC. But my unlisted galleries are not shown. Since Tomas stated, that it should actually be possible, I am eager to find a solution. Since I'm not a programmer, I will need some support!

Thanks so much in advance!

debru’s picture

Ok, since I'm still in the exploring phase and have lots to learn I reinstalled everything to make sure I haven't messed up anything in the prior installation - no luck. I'm really desperate for some advice here because I want to use THIS gallery it has everything I need - if I would get it working!

Help is really appreciated! Cheers folks

eddy147’s picture

Version: 6.x-3.4 » 6.x-3.6
Component: Miscellaneous » Code

Can not get picasa to work with bg.
I did the following:

took the RSS feed from my *public* photo album

pasted that into

[Path to the main gallery folder (for local, non-Picasa galleries): ]
in admin/settings/brilliant_gallery/settings

At least I think that's where I have to put that link, because I don't have a clue what else [bg|path] tag could mean like in the documentation.

Debugging the code, it keeps picasafolder on false, $galleryfolder is my RSS feed. The variable $maxpoct is 0.

danjng’s picture

You're supposed to paste the addy to your RSS feed into the [bg|(paste your RSS addy here)] area. NOT in admin/settings/brilliant_gallery/settings.

Make sure, though, that the path in your admin/settings/brilliant_gallery/settings is in your /files/ directory and is accessible by Brilliant Gallery.

Hope that helps.

danjng’s picture

I also cannot get the Brilliant Gallery to work with my Unlisted Picasa albums. It says so in the documentation that this feature would work with both Public and Unlisted albums, but I haven't been successful yet. I've tried Public and it works fine, but for Unlisted, nothing shows up in place of the bg tag.

After checking further, the directory where the pics are pulled into is created by BG, but nothing is actually downloaded from Picasa.

Any thoughts?

eddy147’s picture

Thank you for your response.

but I really cannot find

[bg|(paste your RSS addy here)] area

can u please help me with this?

eddy147’s picture


firepug’s picture

You just need to put this tag anywhere in one of your normal pages/stories/other content type, as shown in posts 9 & 14. You first need to configure one of your Input Filters to support the translation of the Brilliant Gallery tag (under admin/settings/filters).

Ruth_HB’s picture

I'm having the same issue. The gallery appears blank when using [bg|http://picasaweb.google.com/data/feed/base/user/peterdcoombs/albumid/546.... I placed this in a page/node. I also confirmed that the Input Formats for both Filtered and Full HTML have the Brilliant Tag enabled.

Any help would be appreciated!

Alienpruts’s picture

Issue summary: View changes
Status: Active » Closed (fixed)

Set to closed, No response from maintainer