09-29-2022 23:07
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


09-29-2022 23:07
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
When assigning an image from a file it appears to be cached.
Because if the file is replaced and the image reassigned it picks up the old image from the file not the new one.
Is there a way to refresh things so that it picks up the new image?
Example:
let file = "file1,png";
myImage.image = file;
delete file
add new file with same name
myImage.image = file;
The original file is still displayed.
Author | ch, passion for improvement.

09-29-2022 23:24
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


09-29-2022 23:24
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
The only way I've found is to use a different filename.You can have two, and alternate. Or just append a timestamp or something.
Gondwana Software

09-30-2022 00:12
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


09-30-2022 00:14
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


09-30-2022 00:14
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
Sorry; I only do kludges. 😉
Gondwana Software
