lass="s2">&quot;Unexpected image file format: </span><span class="si">{format}</span><span class="s2">. Use jpg, gif, png, bmp, svg, webp, or ico.&quot;</span><span class="p">)</span>
    <span class="k">return</span> <span class="s2">&quot;&amp;tbs=&quot;</span> <span class="o">+</span> <span class="n">_img_sizes</span><span class="p">[</span><span class="n">size</span><span class="p">]</span> <span class="o">+</span> <span class="s2">&quot;,&quot;</span> <span class="o">+</span> <span class="n">_fmts</spa