Synchronous URL loading of IMAGE_LINK should not occur on this application’s main thread as it may lead to UI unresponsiveness
i’m trying to get the dimensions of the image from it’s URL. i wanted to use this piece of code and modify it according to my needs. here’s what the final code looks like: