Do you have plans to build a website soon? There are three major different workflow styles. How to build a website in 2015 from has shown the 3 most popular workflows so that you can pick the style that fits your skills.
jQuery CollagePlus - an image gallery plugin. This plugin for jQuery will arrange your images to fit exactly within a container. You can define the padding between images, give the images css borders and define a target row height.