Uploading images by putting links in the textbox

I can’t figure out the proper code to put the link of an image in the textbox and then making the image part of the slideshow i am trying to make.

Can you please explain what it is you are trying to achieve?

i am trying to make a slideshow by using images that their links get put in the textbox insted of putting the links of the images in the html document