How can I create a dynamic src url in html img tag? Flask flyf35 — 1 April 2023 · Comments off Solution return render_template('mytemplate.html', icon='11d')