To add a gradient to an image, you can use image editing software such as Adobe Photoshop or GIMP. Open your image in the software, and create a new layer. Then, use the gradient tool to select the desired gradient and apply it to the layer. Adjust the opacity of the layer to control the intensity of the gradient.