Resized and optimized gallery images