Skip to content

Responsive Row Height #34

@adampatterson

Description

@adampatterson

Hello!

First of all, thanks for creating this script. It was very easy to get up and running!

I am trying to responsively adjust the mosaic.

On the desktop, I have 16 images taking up 2 rows with a max row height of 500.

    $('#mosaic').Mosaic({
        maxRows: 2,
        maxRowHeight: 500,
        outerMargin: 0,
        innerGap: 0,
        maxItemsToShowWhenResponsiveThresholdSurpassed: 8
    });

The result for me on a mobile device is two rows of very large images.

Is it possible to set a responsive row height?

Thanks again!

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