Hello Julian, the framework needs to know what kind of image you are loading which it is trying to read from the URL. If you are not supplying a file extension in your url, the framework does not know what to do. Bug you can cheat and just supply an argument not read by the server: "http://127.0.0.1/api.php?size=64&name=" + name + "&xyz=.jpg"
That should do the job. Regards, Martin Am 08.08.2010 um 15:34 schrieb julian-w: > > Hello, > i want to add Icons to my ListItems. But the browser doesn't display them :( > These is my Code: > > [...] > var tmp = new qx.ui.form.ListItem(name, > "http://127.0.0.1/api.php?size=64&name=" + name); > [...] > > If I insert e.g. the adress http://127.0.0.1/api.php?size=64&name=sdf.jpg in > my browser, everything works fine. The browser show me the picture. The > ListItem also load the same adress (I see it in the Firebug Add-on in > Firefox), but he doesn't show it. The ListItem also makes space to show the > image (I hope you understand what I mean. For better understanding, I add a > picture) > > I hope you can help me. > > Greetings > Julian > > DEUTSCH: > Hallo, > ich wollte zu meinem ListItem ein Icon hinzufügen. Doch leider wird es vom > Browser nicht angezeigt. > > Hier mein Code: > [...] > var tmp = new qx.ui.form.ListItem(name, > "http://127.0.0.1/api.php?size=64&name=" + name); > [...] > > Wenn ich z.B. die Adresse http://127.0.0.1/api.php?size=64&name=sdf.jpg in > den Browser eingebe, wird das Bild korrekt angezeigt. > Auch das ListItem lädt genau dieses Bild (dank FireBug (Firefox Add-On) > konnte ich beobachten, wie dieses Bild angefordert wurde, und auch die > Vorschau in FireBug zeigt es korrekt an), aber nicht anzeigt. Stattdessen > lässt das ListItem einfach Platz in der größe des Bildes, es merkt also, > dass es ein Bild ist. Nur es wird halt einfach nicht angezeigt. > > Ich hoffe, ihr könnt mir helfen. > > Viele Grüße > Julian > > http://qooxdoo.678.n2.nabble.com/file/n5386103/screenshot.JPG screenshot.JPG > > > ----- > My site: http://projects-tutorials.de/ http://projects-tutorials.de/ > -- > View this message in context: > http://qooxdoo.678.n2.nabble.com/qx-ui-form-ListItem-Icon-Problem-tp5386103p5386103.html > Sent from the qooxdoo mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge > http://p.sf.net/sfu/RIM-dev2dev > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
