I need to perform the following task:
- download an image by a given URL
- detect the size of that image in pixels or in kb, whatever is easier
Does anybody know a good approach with dojo or with "plain JavaScript"?
I need to perform the following task:
Does anybody know a good approach with dojo or with "plain JavaScript"?
Is this simple approach sufficient? I'm not sure if you meant "download" to mean "save to the client's computer" or simply "retrieve from the remote server".