Closed (fixed)
Project:
Galleria
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
20 Jul 2011 at 23:27 UTC
Updated:
8 Sep 2017 at 10:12 UTC
Jump to comment: Most recent
Comments
Comment #1
Anonymous (not verified) commentedI was using galleria 1.2.3, so updated to 1.2.4. Now an even funkier error, shown on-screen in a red div:
with this code
Comment #2
Anonymous (not verified) commentedI added a CSS line to my custom.css
That fixes the problems. Can we add a "default" height to avoid this error in the future?
Comment #3
kroimon commentedYou have to add a height to the option set you're using.
Every optionset (including the default one) should have this included on creation. Did you remove this setting manually or did the upgrade method fail?
I think I should add a soft warning (or hint) message when saving an option set without a height attribute.
Comment #4
kroimon commentedAdded a warning message to the "Edit option set" form when there's no "height" and/or "width" option specified.
I hope this avoids a little confusion in the future.
Comment #6
revjtanton commentedThis happens for me in Firefox and IE regardless of having height and width specified in the option set. I've used all the defaults and made custom ones. I've tried every way I could find to fix this issue and still it persists. It does work flawlessly in Chrome and Safari.
Comment #7
tmsimont commentedI had the same issue -- found that in my theme (i was using twitter bootstrap) there was a class definition:
This was causing the height extraction to fail. By removing that class, I fixed it.
Comment #8
batnix commentedHi tmsimont,
I'm also using twitter bootstrap in my theme. But I could figure the problem out by removing the hidden class. I really don't know whats the matter and why I can't show the galleria.
I appreciate any kind of hint.
Thanks and best regards,
batnix
Comment #9
tmsimont commentedis there anything else in your css that could be making a container of the gallery hidden?