Custom Visual that updates with Paramet

I have a set of URLS that lead to different images.

The URLS are something like this:

https://sample.link/projectID=12345-a123-a123
https://sample.link/projectID=12346-a124-a124
https://sample.link/projectID=12347-a127-a127

The URLS contains the IDs which are also on a different data field:

projectID:
12345-a123-a123
12346-a124-a124
12347-a127-a127

Is there any way to include the visual called “Custom Visual Content” where by using a parameter on “ProjectID” we can make the URLs vary so that they lead to different images?
Thanks!

Yep you can!

You can reference parameters here.

One thing to note, you will need to have a default value for the parameter.