I have an Interface page with a media component that is using a URL source for an image to show the image in the page.
I would like to be able to have this image change based on a supplied query string variable fed to the page, similar to how we can show different text in a text component using this method, or how we can pre-fill form fields using query strings.
When I do an Ai inquiry about it, it shows we should be able to do it by using {{variable}} but that is not working.
ie if the URL for the image is https://domain.com/images/light-{{color}}.jpg I want to be able to pass a query string variable of “color=red” or “color=green” to show a different image based on that variable.
Has anyone had success with this? If so, how did you pull off the variable insertion in the URL?
I submitted the same question to Interfaces Support, but ever since it has come out of preview mode, they don’t seem to be following up on things very often.
Thanks in advance.