For the best performance in load time of my site I wanted to make the incoming page banner smarter.
For screens up to 1600px would have to be loaded with a simpler, lower quality and smaller side banner, since it does not have to be bigger, but for screens larger than that I would bring a banner with more detail and better resolution.
AssumingIhada<imgid="banner">
how could I make this move to change src dynamically?
Is it commonplace on websites these days?