문제

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 ?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top