I'm trying to get the juicebox module to show an image gallery, but it's not working. I've tried deinstalling it, clearing the cache and reinstalling it (I have the required modules/libs installed).
For a look, go to this page (under development) http://bit.ly/1JVtlFu
Comments
Comment #2
rjacobs commentedHi,
Thanks for passing on an example link. As far as I can see the module is working fine, and I believe the display problems you are seeing are simply related to the way your theme handles image fields. Specifically, your theme's templates/css appear to be floating all image fields left, which creates a dimensionless container that the juicebox javascript cannot properly be rendered within. You could probably verify this be adding some css to selectively override that behavior like:
Of course the specific css you use would probably need to be more tuned than that, but I hope it gets you going in the right direction.
Other related issues for reference include: #2469329: Juicebox conflict with Zircon theme and #1997476: Gallery does not display with OpenFolio theme.
Comment #3
b0red commentedThanx a lot!! That solved it. Now it works, some finetuning as You proposed might come in handy, but for now it's great,
You're my hero right now :)
Comment #4
rjacobs commentedSounds good. Note that the example css only selects your "image new" fields, so if you use a Juicebox field formatter in another field (with this same theme) it may still show the problem. Of course you could select all .field-type-image, but that would also impact all image fields that aren't Juicebox galleries. This is why some tuning may be needed. Either way, since it's theme-specific formatting on the container, it's something that the module can't really control directly.
Comment #6
crispiatico commentedI had the same problem with the theme Zircon.
The related issue #2469329: Juicebox conflict with Zircon theme not work for me.
I solved with #2. Thank you
My css are
Comment #7
justdrupal7 commentedi installed a fresh copy of drupal on my website to test this module as i was wondering to buy the pro version of it..it worked fine for one day but after that suddenly i dont know what happen seems like images are not loading
itsyourwebsite.ca/node/5
i tried everything i could at my end,
checked out library and javascript libraries.
but could not find where the error is
Can someone help me here
Comment #8
paku commentedHi,
I play with Juicebox for few days now and what I have found is that it's state depends on the other jQuery versions you may have shipped with your Drupal installation.
You may install the jQuery update module and test JuiceBox against various JQuery versions.
Have in mind that JuiceBox has it's own jQuery bundled!
My particular case is that I can not have Boostrap3 theme and logged in user JuiceBox gallery displayed together ... while it's ok if user is not logged in ...
Comment #9
rjacobs commentedPlease note that this issue thread is currently closed, and that it related to a very specific issue with certain themes. If anyone is having any issues that they think are related to this module you will be best served to open-up a new support request.
Comment #10
impara commentedThe "return $prefix . $dom->saveXML() . $suffix;" version can be fixed by:
return $prefix . $dom->saveXML($dom->documentElement) . $suffix;
Comment #11
hibou_drupal commentedHello, I've exactly the same issue, but this doesn't fix it for me