Question

I am using this tool http://rvera.github.io/image-picker/ for selecting images in a Flask web-app. It works fine but I could find any way to set all images to a fixed size when displaying.

EDIT: The author suggests using Masonry as a tool for grid-alignment. It has parameters such as column-width. Can anyone please give an example of using Masonry with Image-picker ?

Était-ce utile?

La solution

I just did the following hack which works:

        <style type="text/css">
            .thumbnails li img{
                width: 300px;
            }
        </style>

Now I get images of uniform sizes.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top