Closed (works as designed)
Project:
Fast Gallery
Version:
6.x-3.3-beta1
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
14 Jan 2009 at 21:18 UTC
Updated:
28 Jan 2012 at 00:38 UTC
I'm trying to make the download link in Lightbox2 available. I'm using Lightbox2 6.x 1.9, which has an option in the Layout settings that's called "Text for original image link". This is the text that will appear as the link to the original file underneath the image in the lightbox.
I want to enable this text so users can download the images displayed in Fastgallery by clicking the download link in Lightbox. Therefore I typed "Download file" in the option in lightbox, without any result. The link is not shown. I read all the documentation from bot Fastgallery and Lightbox but I can't find an answer. Can you help me to find a way to make downloads possible from the lightbox window?
Thanks!
Comments
Comment #1
shiraz dindarsubscribing. looking for the same.
Comment #2
serkan.arikusu commentedHi,
This is from the release notes:
If you are not uploading your files by these modules, there is no chance for this in this version. Hope that it will be available in the future.
Comment #3
simonlau_01 commentedHmm... For admin can download. Anonymous and authenticated user can't download although I had set the permission too.
Comment #4
catellani.m commentedI've the same problem:
- lightbox installed;
- permission to download original image enabled for all roles;
- as admin I can download the image, but no one else can do.
Any help will be appreciated!
Comment #5
jkusachi commentedHey guys,
looking at the module code, I was able to come up with the solution.
If you notice in lightbox.module, in line 708, you'll see this:
so basically the download link text will show if you have the 2 permissions, "download original image" as well as "view original images"
However, if you take a look at lightbox2.formatter.inc, line 186, you will see this:
Notice how the 2nd condition is if the user has the permission "view imagefield uploads", NOT "view original images".
So, I edited line 186 of lightbox2.formatter.inc from "view imagefield uploads" to "view imagefield uploads" and got it to work fine and dandy.
I think this should be addressed?
Let me know if you have any questions.
Comment #6
vako commentedIs this issue resolved? I have the same request and can't find the download option for the slideshow, even though the permission is set.
Also would like to know if Print option is possible with Lightbox 2