If you want to use unmanaged images in decorators (which is where your error message comes from), you need to load them explicitly with qx.io.ImageLoader.load. See related bug#4245 [1].
T. [1] http://bugzilla.qooxdoo.org/show_bug.cgi?id=4245 On 11/09/2011 02:13 PM, cyrillerigault wrote: > Hello, > > 1- context > I'm using qooxdoo 1.5, and I have a project where widget background images > are generated dynamically on the fly by a server. For this purpose, I use a > Single decorator, and I set the backgroundImage attribute of a new decorator > each time a new background image is needed. > On firefox and chrome, I got the "Not recognized format of external image" > but it works, but on IE 8, the same error appears but the script fails. > > 2- fixed images referenced when generate is performed > I tried using fixed images (.jpg) located in the resource directories, > generate the project, and it works. > > 3- fixed images not referenced when generate is performed > then I removed the images, perform "generate.py clean" then "generate.py", > and put back the same images: I have errors "Not recognized ..." > so I check new generated files and I saw that the file > source/script/myproject.js was changed. I fact , in qx.$$resources, the > image is referenced in 2) but not in 3) which probably causes the error. > > 4- solution ? > So how can I solve this issue ? (in order to have dynamic images, which are > generated by a php script) > > Thanks a lot for your help > > -- > View this message in context: > http://qooxdoo.678.n2.nabble.com/Not-recognized-format-of-external-image-tp6977905p6977905.html > Sent from the qooxdoo mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
