Responsive Image Grid Formatter