Dynamically update image url after page has loaded?

Hi, is there a way using any of the Pro themes abilities to have an image URL be updated after the page has loaded?

I have a tool that creates an image upon a user pressing a button, and I can retrieve the URL which I can output to an element, i.e. have it output to #imageoutput.

But i’d also like the image to be loaded so have the src URL updated once there is a URL.

Is there a way using the dynamic source for an image to be directed to an element on the page to retrieve the elements value once there is a URL there to read?

Alternatively, I realise I’ll need to custom code some JS and what not… but wanted to check before heading down that wormhole in case it’s already achievable.

Hey @draper3000,

Thanks for reaching out!

I would like to inform you that changing the src URL after loading is not a native functionality in the Pro version. The only way to achieve this is by utilizing jQuery/JS. However, I must clarify that providing custom jQuery/JS support is beyond the scope of our theme support.

If you require assistance with customization that involves jQuery/JS, I recommend seeking the help of a third-party developer. They will be better equipped to assist you with your specific customization needs. Alternatively, you can avail One where we can answer questions outside of the features of our theme.

Hope that helps and thank you for understanding.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.