Skip to content

Unable to refresh Image.src #1338

Answered by FeodorFitsner
csgoh asked this question in Q&A
Apr 24, 2023 · 5 comments · 2 replies
Discussion options

You must be logged in to vote

@csgoh by changing image file contents you are not changing Flet control properties. output_image.src and other image properties stay the same as a result page.update() does nothing.

Solution: every time you generate new image change its filename too.

Replies: 5 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@csgoh
Comment options

@KentaNakayama
Comment options

Answer selected by ndonkoHenri
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #1327 on April 25, 2023 17:41.