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

Incorrect image size calculations in the case of few (<3) images in the gallery #65

Open
akaliutau opened this issue Aug 19, 2021 · 0 comments

Comments

@akaliutau
Copy link

akaliutau commented Aug 19, 2021

Steps to reproduce:

  1. Create a simple gallery according to Getting started steps
  2. Add 2 images to the gallery

Expected result: 2 images displayed
Actual result: Thumbnails in the gallery are not displayed due to incorrect calculation of size,

Here is the piece of generated page related to this issue (width and height are zero):

<div class="natural-gallery-body">
    <div class="zoomable figure loaded" style="background-color: rgba(0, 112, 243, 0.067); width: 0px; height: 0px; margin-bottom: 20px; margin-right: 0px;">

If to add more images (3 or 4), issue disappears

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant