Forum Discussion
Instagram stories looks bad
Никита Глазов thanks for letting me know I'm not the only one. when I used Edge to view the story, the image returned from IG CDN is of smaller size and dimension, much less than 10KB and is 480x240 usually. when I used firefox to view exactly the same story, the image returned from IG CDN is relatively larger, around 33KB and it's about 850x480 pixel.
Specifically to my own IG story, its image URL made by Edge is started with https://instagram.fhkg3-1.fna.fbcdn.net/v/t51.2885-15/e35/p150x150/. and the one made by Firefox is started with https://instagram.fhkg3-1.fna.fbcdn.net/v/t51.2885-15/e35/p480x480/
If we look at the JSON response from the media network call, you will see there are 12 diff. dimensions for Edge to choose, e.g. https://i.instagram.com/api/v1/feed/reels_media/?reel_ids={your IG id here}. Then you can see there are 13 choices of dimensions under "reels_media[0].items[0].image_versions2".
I believe you are right that the attribute "srcset" is missing in Edge, such that the response image handling logic is not triggered, as shown in:
var s = i(d[0])(function () {
return !r(d[1]).isBrowser('Edge') && 'srcset' in document.createElement('img')
}),