-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 31 July 2002 12:38, Jens Nixdorf wrote: > Am Mittwoch, 31. Juli 2002 12:23 schrieb David Faure: > > > > size=\"8\">Test"; browser->begin(); > > > > ^^^^ no URL here. > > > > > browser->setAutoloadImages(true); > > > browser->write(""); > > > > ... so back.jpg can't be "expanded" to a complete path, since your > > HTML source has no path associated to it. > > > > Possible fixes: > > * put full path before back.jpg > > * use the tag, to point to the right dir. > > * pass "the path + /index.html" to begin() (slightly hackish) > > > > Somewhen your app will install the image in a KDE share dir anyway, > > so better look for that than using the current dir. > > So, if i understand you correctly, i can make a html-page-skeleton > (maybe index.html) and put it with the full path into begin()? And i > can still generate the inline-htmlcode for this skeleton with write() ? No need to make index.html actually exist. The URL you give to begin() is just "for information, this is the URL". It's not opened by KHTML (that's what openURL does, which you don't use, since you use begin/write/end). - -- David FAURE, david@mandrakesoft.com, faure@kde.org http://people.mandrakesoft.com/~david/ Contributing to: http://www.konqueror.org/, http://www.koffice.org/ On holidays from 01/08 to 06/08 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9R8FK72KcVAmwbhARAqfnAJ47k4WVL/6EtvWK72gyRye4+EyL7QCfZ2+2 DLwgLJQfyRCMIk6bUCAfShY= =yLRr -----END PGP SIGNATURE----- >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<