简体   繁体   中英

Use fixed image size in JQuery Image Picker tool

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM