user input img alt and src functioning