I have just installed this and I am really impressed with it. Easy to work with but and a great idea.
I have it working in:
Mac - Firefox
Mac - Camino
Mac - Opera
Windows - IE6
Windows - Firefox
Windows - Opera
Unfortunately, in
Mac - Safari 3.0.3
Windows - Safari
It works exactly once then croaks. When clicking on an image, the browser open the image directly in the browser without the Lightbox flash.
When I reset the browser (get rid of cookies and history) it works fine.
Is there a work around of some kind? I know that the Safari 3.0.3 is beta and probably a pain in the butt to develop for, but it would be nice to have working,
I notice that the demonstration site has the same problem with Safari.
Comments
Comment #1
dadderley commentedSorry for posting this, I noticed (after posting) that beta browsers are not supported, my bad.
Comment #2
stella commentedYes, beta browsers are not supported. However, it seems to work almost perfectly for me. If you could provide more information on your settings, how to reproduce and how it doesn't work, then if I have a chance I might be able to take a look at it.
The only instance where it doesn't work correctly for me (safari 3.0.3 on windows) is when image grouping is enabled. When viewing, say, image 3 out of 3, it still shows the next link. When that is clicked on the lightbox still appears but with no image. This then occurs for every image (even those that worked b4) until the page is reloaded.
Cheers,
Stella
Comment #3
dmjossel commentedI can't get it to work in Safari 3.0.3, Safari 2.0.4, or WebKit; it performs as described above, links to images open directly in the browser.
It works in Firefox 2 and Gran Paradiso.
This is in Mac OS X 10.4 on a Macbook, using Drupal 5, Lightbox 5-2.1 and Image 5-1.5 (I am holding off on upgrading to 1.6 pending the resolution of some issues with upgrading).
Comment #4
dmjossel commentedSafari is reporting a syntax error in line 6 of image_nodes.js:
$(document).ready(function lightbox2_image_nodes() {Comment #5
dmjossel commentedBehavior is the same in 5.x-2.1 as in 5.x-dev.
Comment #6
stella commentedI've no problems with Safari on Windows, but unfortunately I don't have a Mac to test on. Would you mind answering the questions below?
If you change line 6 of image_nodes.js to the following does it work?
Do you get similar errors for the other $(document).ready() calls in lightbox.js and lightbox_lite.js? Can you confirm that you're using the dev version from yesterday btw?
Are you using lightbox lite? If not, do you have the automatic image handling enabled? Do the images you're clicking on have the
rel="lightbox"attribute added manually or by the automatic image handling?Cheers,
Stella
Comment #7
dmjossel commentedReplies: I am not useing lightbox lite.
I am not using the dev version because I'm using 5.x-2.1 from October. The 5.x dev version is older, from September.
I will try your suggestions and reply.
Comment #8
dmjossel commentedStella,
Changing line 6 as suggested had no effect. Images still load in a blank window.
Automatic image handling is on and the rel="lightbox" is being added by it. On the same site and the same machine, the effect works flawlessly in Firefox 2.x and 3.x, but fails every time in Safari 2.x or 3.x.
Comment #9
stella commentedThe dev version is actually from the 5th Dec (5.x-2.x-dev). I will be doing a new release in the next week with these changes if you want to wait.
I got a friend with a Mac running safari 3 to test http://www.stellapowerdesign.net/image/tid/4 and it worked correctly for him - safari 3.0.4 (523.12)
Cheers,
Stella
Comment #10
dmjossel commentedI'm going to give the latest dev version a test and see if it works.
Comment #11
dadderley commentedI just installed lightbox2-5.x-2.x-dev and the result is that the original problem is still there.
I am using Drupal 5.3 // JQuery is 1.1.2
I am using the image_gallery module and I have several galleries set up.
I also use the newest image block on the home page.
The browser in question is: Safari Version 3.0.4 (523.12)
Mac OSX 10.4.11 PowerPC
This is the site url: http://dougadderley.com/
It is a developmental site.
This is what is going on, sorry for the tedious repetition.
1// I go to the home page - click the newest image thumbnail.
---- everything is cool lightbox works well.
reload home page
---- everything is cool lightbox works well.
reload home page
---- everything is cool lightbox works well.
reload home page
---- everything is cool lightbox works well.
reload home page
---- lightbox is not engaged and full size image loads up (not image node).
reload home page (5 more times)
---- lightbox is not engaged and full size image loads up (not image node).
reload home page
---- everything is cool lightbox works well.
2// I go from the home page (with lightbox working) to the first of my gallery pages.
click on item one thumbnail
---- lightbox is not engaged and full size image loads up (not image node).
reload gallery page -- click on item one thumbnail
---- everything is cool lightbox works well.
click on item all the other thumbnails
---- everything is cool lightbox works well.
3// I go from the gallery page (with lightbox working) to the second of my gallery pages.
click on item one thumbnail
---- lightbox is not engaged and full size image loads up (not image node)
reload gallery page -- click on item one thumbnail
---- everything is cool lightbox works well.
This pattern is repeated going from gallery to gallery and going from gallery to home page (with one thumbnail in newest image block).
I hope that this description is helpful in your debugging. I just fired up my PC with the newest release of Safari 3.0.4 and the pattern there is pretty much the same.
The new Safari browser must be a challenge to develop for. Apple thinks a lit too differently sometimes.
Thanks for all of your hard work.
Comment #12
dadderley commentedRegarding: http://www.stellapowerdesign.net/image/tid/4
This seems to work very well for me in Safari Version 3.0.4 (523.12).
Beautiful photos by the way.
Comment #13
dmjossel commentedThe dev version seems to be working for me. At least, it hasn't stopped working yet.
Comment #14
stella commenteddougzilla: First off, sorry for the delay in responding. However, you're definitely not using the latest version of the lightbox2 module. From looking at the page source, I can see that the version you have still uses the obsolete "lightningload.js" file. You should at least be using the 5.x-2.x-dev from the 12th December. Though a new 5.x-2.x-dev release should be available later today which fixes a different Safari issue (#202073). If you're downloading via CVS, then you should be getting the files from the DRUPAL-5--2 branch.
Comment #15
stella commentedA new release has been made, Lightbox V2 5.x-2.2. Could you please try it out and see if it fixes anything for you? Be sure to install all the files correctly and clear your cache before retesting.
Cheers,
Stella
Comment #16
stella commentedMarking as fixed, since no more updates made.
Comment #17
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.