Thread:Project:Support desk/How to insert image from other web resources?

I use this code to insert an image which was uploaded to my wiki But how can I make additional option to use direct url to the image insted of "File:file.jpg"???