Image component showing old Images

Hello,

I’m using a script to update the image path and display it using an image component. The problem is that if the new image has the same name, it still displays the old image even though the old image is no longer located in that path. Is there a way to dump the cached image ? It has to be stored somewhere.

Clearing the Java cache should be sufficient for cached images:
https://www.java.com/en/download/help/plugin_cache.xml

Not sure if there’s a way to programmatically clear the Java cache within Ignition.

If this is related to your original problem here then I’d recommend rendering the image bytes instead of changing the path.

I figured it out. There is a Behavior property on the image component called “Use Cache” and it was set to true. unchecking it fixes the problem

2 Likes