Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FAQ add Could not extract a stage height from the CSS. Traced height: 0px. #257

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/references/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ I get a "Fatal Error" when I run Galleria
Galleria throws errors when something is not right. Some errors are considered critical for Galleria to run properly, and when they occur Galleria stops and throws a "Fatal Error".
The most common error is that the path to the themes, images or scripts are wrong so please double check those and make sure you have the right permissions set.

If you get the message ``Could not extract a stage height from the CSS. Traced height: 0px.``, most likely the DOM element on which you want to run Galleria doesn't have a height set. Use a CSS rule to set a height for the element.

Another common issue is that the gallery is hidden when it tries to initialize,
then it will fail to extract correct measurements. Make sure the gallery is visible or try the :doc:`/options/wait` option.

Expand Down