Domanda

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 ?

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top