getSmallestImageSize = (sizes, minSize) => {
  sizes = sizes.filter(size => size.width >= minSize);
  return sizes.reduce((a, b) => (a.width < b.width ? a : b));
}
Get the smallest size (but not smaller than minSize)

@param {Array} sizes
@param {Integer} minSize