Client sided? Ask the webserver the size of the picture and ignore it if it is more than a specific size. Can even configure it that way?
Login to reply
Replies (2)
This doesn’t work because by the time you check the size you already downloaded it 🤣 some services will pass a bit of info but that’s also not reliable
You can HTTP HEAD it and if not supported download a specific maximum size and then abort if bigger.
I would not want to rely on complicated setups scaling it for me, and i don't think these things belong anywhere else than clients.