Skip to content

Square pictures get oversized #243

Description

@albanc26

Hello,

First many many thanks for this great piece of script. It is tremendous !

I am using freewall.js for displaying picture galleries. But whenever an image is perfectly square, thus is no larger than higher, freewall seems to fail resizing it and creates a huge cell.
See examples here :
https://www.velorizons.com/photo-video-velo-vtc/asie/indonesie/album-photo-1100-echappee-balinaise-a-velo.html
and here :
https://www.velorizons.com/photo-video-velo-vtc/amerique-du-sud/cuba/album-photo-1137-fidele.html

Also being a programmer myself, I have tried to find and fix the issue, but without success so far. I have also tried experimenting with the fixSize setting, but with no success again (fixSize=1 breaks the whole layout, fixSize = 0 makes the square pictures disapear, fixSize=null is the default behavior which creates huge cells for square pictures).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions