FB-14497: Fix gallery image stretch in index.html.