render the grid
fix image signature
let gifs pass through, resize elongated images differently