Url Image Field Deluge Update

Url Image Field Deluge Update

Good day,

I have a product catalogue, each item have a Url Image, I want to update the Url Value with Deluge when every new product is created, I use the same syntax to feed a url on a plain field but in the Url Image field nothing happens.

iniciolink = "<a href=";
mediolink = (" target=_blank>");
finallink = "</a>";
thumblink2 = ".jpg";
thumblink = thumblink1 + "1" + thumblink2;
input.Image = iniciolink + thumblink + mediolink + thumblink + finallink;