larkante Posted June 15, 2012 Posted June 15, 2012 I have a UniImage with the URL http://server.com/image/test.jpg then I update the image on the server. How to update the UniImage with the new picture? I tried: UniImage1.update; UniImage1.refresh; UniImage1.repaint; Quote
zilav Posted June 16, 2012 Posted June 16, 2012 I have a UniImage with the URL http://server.com/image/test.jpg then I update the image on the server. How to update the UniImage with the new picture? Browser cached your image since url is the same, its not an unigui problem. You need to change url to force an update, usually it is done by adding some random stuff (or timestamp) like this http://server.com/image/test.jpg?5238968578 Quote
larkante Posted June 16, 2012 Author Posted June 16, 2012 Thank zilav got it right by changing the url. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.