Update gallery to output correct size images for thumbnail view