Farid Elyahyaoui schrieb: > thanks for you reply! > It doesn't matter whether I reuse one QxImage or create a new one for each > setSource(). > I noticed that clearing my browser cache and then pressing the button which > calls setSource() however DOES show the correct latest image. > Does this ring a bell to anyone? > Please, please I am really lost on this one. It really is a showstopper for > my project.
Please try this: yourImage.forceSource(null); yourImage.setSource(originalSource); Or what's about some random query string? yourImage.setSource(originalSource?q=39432); Hope this helps. Sebastian > >> Datum: 29/07/06 11:59 AM >> Van: "鹏举马" <[EMAIL PROTECTED]> >> Aan: [EMAIL PROTECTED], "qooxdoo Development" >> <[email protected]> >> CC: >> Onderwerp : Re: [qooxdoo-devel] QxImage setSource >> >> It works fine in my project. if the img of /path/to/my/image.png has been >> modified maybe you can create a new QxImage object. >> and you can enable the debug to see if there is something wrong. >> >> 2006/7/26, Farid Elyahyaoui <[EMAIL PROTECTED]>: >>> anybody has a solution for this? >>> >>> >>>> Datum: 20/07/06 09:16 AM >>>> Van: "Farid Elyahyaoui" <[EMAIL PROTECTED]> >>>> Aan: [email protected] >>>> CC: >>>> Onderwerp : [qooxdoo-devel] QxImage setSource >>>> >>>> I try to create a qximage to display a generated image: >>>> var img = new QxIMage("/path/to/my/image.png"); >>>> >>>> when I modify the generated image and try to update the qximage with: >>>> >>>> img.setSource("path/to/my/image.png"); >>>> >>>> I still get the (old) unchanged version displayed in my browser. Could >>> this be caused by the image preloader/chaching of qooxdoo? >>>> If yes: how can I force an update in the qximage so that the latest file >>> is displayed? >>>> if no: what is causing this behaviour? >>>> Thanx in advance. >>>> >>>> Farid >>>> >>>> >>> ------------------------------------------------------------------------- >>>> Take Surveys. Earn Cash. Influence the Future of IT >>>> Join SourceForge.net's Techsay panel and you'll get the chance to share >>> your >>>> opinions on IT & business topics through brief surveys -- and earn cash >>>> >>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >>>> _______________________________________________ >>>> qooxdoo-devel mailing list >>>> [email protected] >>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel >>>> >>>> >>> ------------------------------------------------------------------------- >>> Take Surveys. Earn Cash. Influence the Future of IT >>> Join SourceForge.net's Techsay panel and you'll get the chance to share >>> your >>> opinions on IT & business topics through brief surveys -- and earn cash >>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >>> _______________________________________________ >>> qooxdoo-devel mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel >>> >> >> >> -- >> 一农工作室 >> http://www.ynstudio.com >> > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
