I want to create a gradient onto the attached image 1 (crowd-5498373-1920x1149) like the gradient in image 2 (web-dev-23.png). The blue gradient is #115CFC.
How do I do that?
Place/create a new layer on top and fill it with a linear gradient, probably slanted flown fitting your image orientation (see gradient editing), lower the opacity settings for the gradient stop points so the background image shines through the way you want.
See:
Gradient tool
Gradient editing
Gradient Editor