larkante Posted June 15, 2012 Share 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 Link to comment Share on other sites More sharing options...
zilav Posted June 16, 2012 Share 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 Link to comment Share on other sites More sharing options...
larkante Posted June 16, 2012 Author Share Posted June 16, 2012 Thank zilav got it right by changing the url. Quote Link to comment Share on other sites More sharing options...
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.