Masonry allows uploading images with their own sides proportion. The images can be placed in the vertical rows, the number of which can be regulated. As well the added images can be resized individually.
Thumbnails allow transforming the gallery into two connected sliders. One of them is placed on the whole width of the gallery area, and the second one displays the images preview and used to switch images.