pull alt text through in html and custom liquid

Hi

im hoping someone can help as ive been trying to sort this issue for a few days

i have added some custom liquid on some of my website where the images are a link which i get from the image. although the website pulls the image onto the site, it doesnt pull the alt text related to the image

this is the same for the html code for my products where i have added images i the html

is there a way to pull the alt text through, rather than having to go through 100s of images code and adding a alt text again next to each one in the html code

You will need to add alt code to custom HTML manually; it cannot be done automatically.