I have a gallery with 6 sub-galleries, and all pictures are in the sub-galleries with nothing in the gallery root.
On the gallery page I just had

[bg||3|150|random|9]

and it would show a random 9 images from the sub-galleries.
Sometime during one of the last few updates, it stopped working.
I no longer get any images displayed in the root page.
http://acef.org/Gallery

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ericwongcm’s picture

Random is working fine for me using Brilliant Gallery 3.6..
Check your parameter and make sure you don't have empty ||..
----------
Example, I was using syntax like this which cause Brilliant Gallery 3.6 to break my gallery..
[bg|photo||100||9]

It turns out that Brilliant Gallery 3.5 ignore the missing parameter within || whereas Brilliant Gallery 3.6 doesn't accept it and show tiny thumbnails instead of what I had specified.

My syntax should not have any empty || and should look like this
[bg|photo|9|100|random|9]

TonyT’s picture

This patches fixes the problem that when using old style syntax, empty arguments caused the following arguments to be misinterpreted.

The issue was that empty arguments were being skipped and not put into the old style array that is created. They should only be skipped when using the new style syntax.

Tested with brilliant_gallery 7.x-1.10.

TonyT’s picture

Status: Active » Needs review