Does Gallerix work with downloads set to private?
dleeward - October 7, 2008 - 12:57
| Project: | Gallerix |
| Version: | 5.x-1.3-1 |
| Component: | Code |
| Category: | support request |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | needs review |
Description
Does Gallerix work with downloads set to private? If so, I'm having problems getting any images to show up. All I see is a small vertical black bar.

#1
It doesn't yet, but it will (for 6.x).
Silvio
#2
Setting downloads to public is not an option for us. Is there any workaround to point to a different location, maybe with a symbolic link?
#3
That could work. Make a folder called "files" in your public html folder (don't put anything in it). Then make a symlink inside there that points to the gallerix directory, wherever it may be (say, yoursite.com/private/files/gallerix). Again, I can't guarantee it'll work, but it sounds like a reasonable workaround for now.
Silvio
PS. Don't know if this is secure or not for the other files.
#4
Here is a patch for 5.x-1.3-1.
This patch does two things.
1) Properly support private/public download settings.
2) Allow you to override the view so you can specify header/footer/empty text.
What do you think?
#5
Thanks for the patch. What kind of testing have you done on it? Will try to find some time to learn how to install patches and test it.
#6
I used your module with my patch on my family website.
The reason is that my family website is private only. Only members can access posts and photos.
It worked for me.
What you can do is apply the patch manually. That is... read the patch and find all the lines in your files which begins with the minus signs (in the patch) and remove them and replace them with the lines which begin with the plus sign (but do not put the plus sign in your files).
Or read:
http://drupal.org/patch/apply