How to use Image Variants in CloudFlare Images for an SSR Web Application

I am using the Cloudflare Images to store images and created several variants for them. Cloudflare Docs suggests using tag along with the ‘srcset’ attribute. The network calls in this is two - one is the actual ‘src’ image and the other is the ‘srcset’ image based on the viewport. What other options do I have to load just the image variant based on my viewport on my server side rendered web application.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.