self.imageWidget.reload()
#or
self.image.source = 'http://xxx.xxx.xxx.xxx/image.jpg'
#or
self.image.source = 'dummyFileOnLocalFileSystem.jpg'
self.image.source = 'http://xxx.xxx.xxx.xxx/image.jpg'
You received this message because you are subscribed to a topic in the Google Groups "Kivy users support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kivy-users/YJct8GHetjo/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to kivy-users+...@googlegroups.com.
The loader use the extension to determine what kind of file you get.
So the end of the url should be an extension.
So the gabriel's trick will not work obviously.
If you use nocache=True in the AsyncImage(), try to use the reload()
method. Setting to the same source will not trigger anything.
Regards,
Mathieu
> <mailto:gabriel...@gmail.com>>
>
> Hi
>
> There is always the common trick of using
>
> from uuid import uuid4
>
> self.image.source = 'http://xxx.xxx.xxx.xxx/image.jpg?%s' % uuid4().hex
>
> this will get you a different url each time, avoiding the cache issue.
>
> not exactly beautiful, i know, but if you are in a hurry…
To unsubscribe from this group and all its topics, send an email to kivy-users+...@googlegroups.com.
The loader use the extension to determine what kind of file you get.
So the end of the url should be an extension.
So the gabriel's trick will not work obviously.
If you use nocache=True in the AsyncImage(), try to use the reload()
method. Setting to the same source will not trigger anything.
Regards,
Mathieu
> Jean-François Milants
>
>
> 2013/4/6 Gabriel Pettier <gabriel...@gmail.com
> <mailto:gabriel...@gmail.com>>
>
> Hi
>
> There is always the common trick of using
>
> from uuid import uuid4
>
> self.image.source = 'http://xxx.xxx.xxx.xxx/image.jpg?%s' % uuid4().hex
>
> this will get you a different url each time, avoiding the cache issue.
>
> not exactly beautiful, i know, but if you are in a hurry…
To unsubscribe from this group and all its topics, send an email to kivy-users+...@googlegroups.com.