Hi Stella, Hi everybody,
drupal 5.3, Brilliant gallery 5.x-2.14, lightbox5.x-2.x-dev, FF2-IE6 (same behaviour)

Brilliant gallery was working perfectly till I used it only in a block. But since I added it in a node it doesn't work.
I explain:
- Step 1 Create a Brilliant gallery in a block: running well
- Step 2 Create a new node edit including: [bg|Album 01|6|100]
- Step 3 In the node display: grid of thumbnails is correctly displayed
- Step 4 When I click on a thumnail: Lightbox black screen, white square in the middle and that's all. No image
- Step 5 Brillant gallery in the block is not running: Lightbox black screen, white square in the middle and that's all. No image
- Step 6 Refresh navigator display
- Step 7 Brilliant gallery in the block is running again
- step 4, step5, step 6 and again and again...........
- tested on IE6 and FF2, same behaviour

Any idea?
Gilbert

Comments

stella’s picture

I think this is a problem with the brilliant gallery module rather than lightbox.

The above steps work perfectly if you have set up a brilliant gallery folder within your main files folder and if there is a directory/album with the name "Album01" within it (e.g. files/brilliant_gallery_albums/Album01). [Side note: I don't think it's possible to display your galleries in the sidebar with this method.]

However, if you configure the main brilliant gallery folder to be your files folder (by leaving "Path to the main gallery folder" blank), and you create a "files/Album01" directory, then the above problem happens. I believe this is because the generated anchor link to the image is incorrect. It is set to something like:
http://www.mydomain.com/files/%252FAlbum01/image1.jpg

The %252F should not be there - if you remove it the image is opened correctly.

Cheers,
Stella

vacilando’s picture

Status: Active » Fixed

@gilbertdelyon: I think Stella's analysis is good - make you sure you have the main folder set in BG config screen ( see step 6/1 at http://www.vacilando.eu/bg ). Each gallery you want to display should then point to a subfolder of that folder. So if you use [bg|Album01|6|100] (better don't use a space!) then you should have a folder called Album01 in your main folder. You can use such tag(s) both in the node and in custom blocks without any problem. Works now?

@snpower: thanks for your help analyzing the issue!

Tomáš

gilbertdelyon’s picture

Hi Tomas, Hi Stella,

Since I renamed the folder from "album 01" to "album01" without space it works fine. Next time I will read the manual more carefully. Very sorry.

It is nevertheless strange that with space in folder name the images were not displayed in the lightbox screen while the thumbnails were correctly displayed in the "story".

Thanks again for your precious help and for the time you spent in correcting my mistakes.

Gilbert

vacilando’s picture

Good to hear that was the only issue eventually, Gilbert.

Yeah, some systems are immune to spaces and non-ASCII characters in paths, some are not. Generally it is safest to use only ASCII letters and numbers.

Cheers,

Tomáš

Anonymous’s picture

Status: Fixed » Closed (fixed)

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