Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I am testing the Galleria module out on a fresh Drupal 6 install. While it is perfectly working on Firefox, the page scrolls up (not to the top) when I click on a thumbnail in Safari or Opera. Obviously, you need some content above the Galleria to see this happen.
By the way, I am using it with Imagefield.
Any idea where the problem could come from?
Thanks in advance,
Matt
Comments
Comment #1
ilfelice CreditAttribution: ilfelice commentedI can confirm this using Opera 9.5 in Ubuntu.
Comment #2
kass CreditAttribution: kass commentedyes, i got this problem too. but my early website don't have this problem. the both website are on different server,this mean anything?
Comment #3
kass CreditAttribution: kass commentedafter look around my web, i think Galleria have a problem with jquery plug-in or jquery update or both because after i remove jquery plug-in & jquery update. Galleria back to normal, no more page scroll up ;)
Comment #4
auzigog CreditAttribution: auzigog commentedHas any progress been made on this? I have the same issue.
It's seems like it would be easy to debug. Just comparing the differences between a normal galleria and a Drupal galleria should help in solving it.
In reference to kass's comment, I find it hard to believe that is true because Galleria requires jquery. But I haven't looked into it too much, so I'm not sure.
Comment #5
bcobin CreditAttribution: bcobin commentedSame issue. Subscribing.
Comment #6
dsp1 CreditAttribution: dsp1 commentedSame issue too. Subscribing.
Testing to see if I can switch to this from Gallery2 now that I have upgraded to Drupal 6.
Comment #7
pribeh CreditAttribution: pribeh commentedHelp. Subscribing.
Comment #8
jweedman CreditAttribution: jweedman commentedSubscribing... Super Annoying.
Comment #9
jweedman CreditAttribution: jweedman commentedHey guys and gals,
Like most of you, probably, I was pulling my hair out with this. It wasn't a HUGE ordeal, but if you're like me, I was still bothered that those 5% of my Safari users were having to scroll down each time they clicked a thumb. Well... no thanks to me, all the credit to "bradybouchard" who figured this out for us in a post on Google Code. To be fair to all those involved, I'm going to post a link to where I found the answer rather than put it here:
http://code.google.com/p/galleria/issues/detail?id=46#c4
Hope it helps - worked like a charm for me.
-- jweedman
Comment #10
langworthy CreditAttribution: langworthy commentedConfirming this is also a problem in Chrome on OSX.
I'm not sure how a patch could be created using the fix in #9 as the height and min-height is dependent on the Imagecache size.
We put the following code in a custom Features module (this fix can work in any custom module):
our_feature.css
Comment #11
adubovskoy CreditAttribution: adubovskoy commented/me use that solution. Simple add in js for galleria pages.
Comment #12
jerry CreditAttribution: jerry commentedConfirming that the JS fix in #11 worked for me as well.
Comment #13
leviathan23 CreditAttribution: leviathan23 commentedHi,
im not sure where exactly i should add the JS code in #11 to make this fix work.
Can anyone give me a hint? TIA :-)
Comment #14
leviathan23 CreditAttribution: leviathan23 commentedSolved!
Adding a height to #main-image in galleria.css worked pretty well for me.
Comment #15
slcp CreditAttribution: slcp commentedNow this is strange...adding a height to #main-image solves the problem but I only experience the problem as an anonymous user...now what is that all about?!
Comment #16
mimmotron CreditAttribution: mimmotron commentedThanks guys