Closed (works as designed)
Project:
Brilliant Gallery
Version:
6.x-3.6
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
19 Nov 2009 at 12:47 UTC
Updated:
20 Nov 2009 at 10:14 UTC
Hi Tomas,
your Brilliant Gallery module works brilliant ;-) I just used the Picasa feature for a website. Very nice.
I have one question for you. We installed a Drupal site using links to a common place where Drupal files are kept. I.e. we create a link ln -s for a module to a central directory where we keep modules.
When doing this with brilliant gallery it can not display the images.
Can you think of a reason why? We have not looked at the code in detail yet, but would like to find out.
Thanks! Thomas
Comments
Comment #1
vacilando commentedThanks :-)
Just a few days back I needed to use the same gallery on various websites (large; some 6000 images!)
I did create the base 'albums' folder in /files on all websites.
Then in one of them I created a gallery folder with all the images, and in all the other 'album' folders I created symlinks to the first one.
E.g.
It works perfectly for me.
Comment #2
tomw commentedHi Tomas,
thanks for the reply and confirming that linking image galleries works. This is good to know as well.
What we do is different. I explain in more detail.
We have the module for brilliant gallery in one directory such as:
/path/to/module/brilliant_gallery-6.x-3.6
and in the sites/all/modules directory for the websites we create a sym link to it:
/site-a/sites/all/modules/brilliant_gallery (is a sym link to the location above)
/site-b/sites/all/modules/brilliant_gallery (is a sym link to the location above)
When you do this, brilliant_gallery will not show the images (at least not for us).
We use this technique successfully with many modules, because it helps with maintenance and updates...
Hope this explains better what I tried to say before.
Comment #3
vacilando commentedI see; you're trying to symlink the module folder itself.
I have never considered or tried that. Whenever I needed a common module repository I set up a Drupal multisite.
I unfortunately don't have a ready answer for your more special situation and I won't have the time to simulate and solve it. Maybe you can run it through a PHP debugger to see what's going on, or perhaps some other users will be able to contribute their experiences here.