Workflow question — How do I let clients upload SVG _or_ PNG / JPG?
I have a "Sponsors" section on a client site.
The sponsor logo should ideally be an SVG, and the client has SVGs for about 90% of sponsors. Sometimes an SVG is not available though, and we'll have to make do with a PNG or JPEG.
I understand how to add an SVG upload e.g. like this https://grabaperch.com/blog/archive/svg-images-in-perch, and I understand how to program responsive images.
My question is, how can the image tag generate images dynamically, depending the file type uploaded? My impression is that this is not possible, and I would have to program two different upload sections—the first for an SVG upload, and the second for a regular PNG/JPG.