Quote (shenk @ Aug 25 2021 02:23am)
it is possible using a HEAD HTTP Request which can return the content-length value which is the size of image in bytes
then you could make a condition stating if content-length > 50000 then don't allow image to display
Except for images that are changed after they are checked, such as image rotators. Also, some sites don't support HEAD, like imgur (which did not as of a bug fix in April 2020, listed in site updates, just to name one provider).