Ensure gallery images scale isomorphically