Solution:
You can try nextGenGallery plugin. It not only makes thumbnails with user settings provided, but it is also advanced gallery with many other features like albums, photos in the posts, slideshows etc.