Custom field image with custom field link

Hi,

I have 2 custom fields: image and link.
How can i make the image pointing to the inserted link?

Thank you!

i've been looking everywhere, i can+t figure out how to do it
of course i'm very new at this