Responsive Photoset
The photoset is fluid: try resizing your browser. Dealing with margins and photos of different aspect ratios is also never a problem. Read the tutorial on Medium. Made by Terry.
A more advanced version of this technique, which dictates the size of the thumbnails depending on screen sizes, is available here.