Closed (fixed)
Project:
Gallery Assist Lightboxes
Version:
6.x-1.3-beta1
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
11 Dec 2009 at 02:00 UTC
Updated:
12 Feb 2010 at 03:10 UTC
Jump to comment: Most recent
Comments
Comment #1
flyMASTER commentedI have the same problem. The lightboxes only work if I'm logged in as administrator. They doesn't work for anonymous users or regular authenticated users. Can anyone help me?
Comment #2
LinuxDanP commentedI can't get anything whether I'm admin or not.
Comment #3
jcmc commentedOk send me the link to your site.
I need more Information as only the here posted.
Wich modules are activate in relation with Gallery Assist.
Are you sure you mean version 1.3-beta1?
The actualy version form Gallery Assist is the 1.9-beta1
Regards
Juan Carlos
Comment #4
LinuxDanP commentedMy site is www.daniel.peranoranch.com.
I have Gallery Assist version 6.x-1.8, and Gallery Assist Lightboxes version 6.x-1.3-beta1. Those are the only Gallery Assist modules I have installed. Do I need to upgrade to the latest version of Gallery Assist?
Comment #5
Anonymous (not verified) commentedI am having the same problem more or less. Well, at least one my problems is similar.
On my test box, where I can not get the lightbox integration to work, I noticed that I have different behavior than the demo screencast for lightbox install and config. In the video it shows how the parameters for each effect come up upon selection (I guess via ajax as there is no page refresh), which I do not get. I downloaded from 6.x-1.3-beta1 link, which gives me gallery_assist_lightboxes-6.x-1.3-beta1, but .info says 6.x-1.2-beta1. Also, 6.x-1.9-beta1 GalleryAssist.
My result of selecting a lightbox is nothing. When I save the page it comes back with "none" as my selected lightbox. I am betting this means I have to 'install' JQuery. I see in the .js folder there are JS's like "gallery_assist.shadowbox.selector.js", but I don't see JQuery. What step(s) have I missed in installing and configuring this? I also wanted to confirm that I should not install the drupal LightBox@ module, but rather drop the source for lightbox itself in the indicated lightboxes folder - right? I have done this with shadowbox-rcXXX and lightbox2.XXX and renamed the folders to lightbox and shadowbox. I also used prettyPhoto.
On my production instance I can't seem to save file into my gallery - when I click Update, the file does not save. I have given 'all' write permissions to /sites/default/files/, but still not saving. Interestingly, and related I think, is the fact that the 'progress bar' does not come up here when Update is clicked, which also sounds like a JS issue. I will compare environments further, but if you know the answer that'd be helpful.
Comment #6
LinuxDanP commentedAre you clicking on the "save" button on the bottom of the page? You need to click on the "Update" button just below the copyright box.
Comment #7
Anonymous (not verified) commentedGood question. I click on Update, and the file doesn't save. Like I said, I don't get the 'progress' bar next to the Update button to display that the "file is saving" - on this instance of D6. I have successfully loaded this, WITH shadowbox AND lightbox, on another instance. I have also uninstalled Image, Image Gallery, Gallery Assist and Gallery Assist Lightboxes, and reinstalled - to no avail. I have started looking in the .module to try and figure out where that call to Update goes so I can identify the dependency that I must be missing somehow.
For the sake of the original thread, with Shadowbox, I found you must select the SB lightbox in GA Extras, and then come back and select which .js files to load from the now present "Files to [load]"- when you see the list come up, select what seems appropriate, and Save - and go to your gallery and watch the show.
Comment #8
LinuxDanP commentedHm... I guess I could try it with Shadowbox. Which versions of Gallery Assist and Gallery Assist Lightboxes are you using?
Comment #9
Anonymous (not verified) commentedSee post (#5)... Any one have any ideas as to why my GA is not working on this particular instance??
Jim
Comment #10
jcmc commentedHello ii90475, hello LinuxDanP,
Can you tell me wich is the currently status of your attemps to install the lightboxes for Gallery Assist.
The issue is open also exists.
Regards
Juan Carlos
Comment #11
STuPiDiCuS commentedBump, I'd also like to know.
Comment #12
jim_at_miramontes commentedSame here -- I've installed the latest (as of 18 Dec 09) versions of Gallery Assist (6.x-1.9-beta2) and Gallery Assist Lightboxes (6.x-1.3-beta3) into a pretty stock Drupal 6 installation (/misc/jquery.js = 1.2.6). I've added the latest versions of lightbox2 (2.04) and lytebox (lytebox_v3.22); they show up in the Gallery Assist "extras" tab, both are selectable through the menu, both seem to be accepted properly after hitting "Save", but nothing happens on the gallery page, for either one. Firefox is not reporting any Javascript errors, and there's nothing of interest in Watchdog.
Thoughts?
Comment #13
LinuxDanP commentedI'm running a stock installation of Drupal 6.14, with Gallery Assist 6.x-1.8, and Gallery Assist Lightboxes 6.x-1.3-beta1. I've tried both PrettyPhoto and Highslide, but neither one works.
Comment #14
jim_at_miramontes commentedHey, I got lightboxes working! Yay!
My problem was ultimately one of installation and perhaps documentation, but whatever. Based on having gotten lightbox2, highslide, and lytebox working (after having failed before), here are some tricks for the interested parties:
* The lightbox folders inside sites/.../gallery_assist_lightboxes/lightboxes need to be named carefully. In particular, they should not have any sort of version information, like what is generally present after you unzip the distributions. For me, the folders for the lightboxes I mentioned above had to be named (exactly) "lightbox", "lytebox", and "highslide". The "choose a lightbox variant" pulldown in admin/settings/gallery/assist/extras will happily handle names with versioning information, but the code will break if the names aren't right.
* Some lightboxes (*cough* highslide *cough*) put their REAL code inside a second folder within the distribution folder, along with examples, help files, or other stuff. Make sure the real code is in the right place -- right inside the folder directly under the lightboxes folder.
* After you've done all this, go back to admin/settings/gallery/assist/extras and pick a lightbox from the pulldown. If you've done this right, you should get some new options in response to your selection. "Show copyright" and "Show description" checkboxes are common in the lightboxes I've used; highslide presents a slew of checkboxes that let (er, require) you to pick which js and css files should be loaded with the page. If you don't see these new options, you've probably done something wrong. (I don't know what's going on inside the code, but this would be an obvious place for a "configuration error" message to get raised -- if the code doesn't add any options, it should know that something's wrong.)
Once I worked through this, the lightboxes Just Worked, and quite nicely. Thanks to jcmc for his efforts!
Comment #15
jcmc commentedHello jim_at_miramontes,
Can I use your text in the documentation from the Gallery Assist Lightboxes Module?
In the secund parragraf you have right I have to add some what to signalize or handle errors.
Gallery Assist and the complete serie don't should show errors to the users interface, only in cases it is needed.
I think in the near future about an function wich log errors through watchdog.
Thanks and Regards
Juan Carlos
Comment #16
jim_at_miramontes commentedPlease do!
best,
Jim
Comment #17
jcmc commentedComment #18
filburt commentedHi,
I've a similar problem: In my case only the Lightbox2 is working in Gallery Assist Lightboxes Version 6.x-1.2 but no other of the named lightboxes. I've checked all settings. If I install the latest development snapshot or Version 6.x-1.3-beta1 there is no Lightbox in the dropdown menu available at all.
Could the reason be a conflict with other modules (which use AJAX)? I recognized that if I insert a gallery in a node the Administration menu modul brakes on this node.
Thanks for help and greetings,
Filburt
Comment #19
jim_at_miramontes commentedHave you looked into the name of the folder containing the lightbox code in gallery_assist_lightboxes/lightboxes? This has to be exactly right for everything to line up, and the exact name isn't always obvious (cf. http://drupal.org/node/656878#comment-2443992).
Which other lightboxes are you trying to get to work?
Comment #20
filburt commentedFirst - thanks for the fast reply!
Yes the names are correct. And Lightbox2 principally works with Gallery Assist Lightboxes Version 6.x-1.2 (there are some smaller issues) but it does not work with newer versions like 6.x-1.3-beta1 or the latest dev-snapshot (same file structure and names).
I've tried various lightboxes yet, like lightbox, highslide, prettyphoto and thickbox (names written like in the lightboxes directory). As mentioned in 6.x-1.2 only Lightbox2 is working in the newer versions the drop down menu where you should select the lightbox is empty at all.
Thanks for support and greetings
Filburt
Comment #21
jim_at_miramontes commentedHmm. Sorry, I'm afraid I'm out of wisdom. Good luck, though.
Comment #22
jcmc commentedHello jim_at_miramontes,
For the first I want to thank you sincerely for the help by supporting.
Hello filburt,
The lightbox variant used in the module lightbox2 is currently from Gallery Assist Lightboxes not supported. I think it was a casuality that you not get errors by combine the lightbox2 from drupal module and the realy original lightbox2 from Lokesh Dhakar.
Realy I have the support developed but never commited.
I did not until now because of the BSD License from http://warren.mesozen.com (jquery lightbox).
After I have readed your post here, I found the following lines in the lightbox2 module:
Only now is met the condition, to which I've been waiting for. Now I can implement the support for the lightbox2 (Drupal module) in Gallery Assist Lightboxes. I admit it, I had stopped to observe the development of the lightbox2 module.
I can send to you the lines you need to add but better you and all wait for the next release this week.
Regards and thanks
Juan Carlos
PS
I think this here is not more a bug report. A mercedes without clima is also not a bug. It is only not implemented.
Comment #23
jcmc commentedComment #24
filburt commentedThanks Juan for the reply...
I'm not sure if we discuss the same issue. I did not try to implement the Lightbox Drupal module in Gallery Assist Lightboxes, I installed the lightbox directly in the lightboxes folder as mentioned in the documentation of Gallery Assist Lightboxes.
However I have a similar issue with the other lightboxes. I can install the lightboxes and they are found now in the dropdown menu. If I select one and click the thumbnail, than the image is loaded in a new page, but not in a JavaScript popup. It is especially interesting if I choose prettyPhoto because it starts to shade the background but then jumps to a new page and opens the image there... So for me it looks like a JavaScript loading problem - but I don't know very much about JavaScript.
I made a new clear Drupal installation for testing if the problems are caused by other modules but have the same issue there.
Am I right that you are located in Dresden/Germany? Me to ;-) So maybe I can give you a call and a link to the page...
Thanks & greetings
Filburt
Comment #25
jcmc commentedHallo filburt,
In Dresden wohnte ich früher und komme öfters zu Besuch.
Vielleicht können wir uns sogar treffen, wenn ich da bin. Gib mir Deine Nummer, ein Paar Drupaler gibt es schon dort.
Du hast die Lightbox prettyPhoto erwähnt. Für diese Lightbox und für die colorbox wird JQuery 1.3.1 und höher benötigt. Das ist die Ursache, warum das Skript nicht beim Klicken des Miniatur-Bildes reagiert.
Darf ich wissen, warum Du Version 1.3-beta1 benutzt und nicht eine höhere?
In den neueren Versionen sind die fancybox, die colorbox vollkonfigurierbar, auch mit Verdeckung des Hintergrundes mit Farbe und Transparenz, Easing Effekt etc. Die colorbox kann auch slidershows.
Ob ich gut verstanden hatte oder nicht, die Unterstützung für das Lightbox2-Modul habe ich implementiert. Heute Abend publiziere ich mein letzter Stand.
Bitte schicke mir den Link über den privaten Weg.
ich verbleibe mfG
Juan Carlos
Comment #26
jcmc commentedFixed. The support for the lightbox2 module is added.
The functionality is tested by fluxrider at 681056#comment-2470748