can an image itself collect some user data (like width an height of the screen) for the server? or the common practice is tha javascript generates an Image() and then sets its .src with desired parameters?