Create image thumbnail grid and upload them to server

Hi all,

What is the good way to put imagepicker result (album or camera) into grid of thumbnails and then upload them all to server? Thanks.