Oliver Vogel schrieb:
have a look at:
http://qooxdoo.oss.schlund.de/2005/07/14/faq
there you can find:
How can I configure the path where my images are stored?
You can change the image path creating a new QxImageManager instance and
then using the setPath method:
var im = new QxImageManager;
im.setPath("/data/icons/"); <<-- PATH to your icons
use this and the all works fine
well, you seems to have explained it already.
Sebastian
Olli
P.S. if your problem still exists, search the mailing-list archive and you will
find a thread with this problem.
if this will not help, fell free to ask me again
idris budak schrieb:
I find where the problem is , but I don't know the
general solution.
My solution:
if you change the below line in the QxImageManager.js
:
QxImageManager.addProperty({ name : "path", type :
String, defaultValue : "../../images/" });
to
QxImageManager.addProperty({ name : "path", type :
String, defaultValue :
"YOUR_NEW_DIRECTORY_STRUCTURE/images/" });
then images can be found.
Do you know the right solution?
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
im.setPath("/data/icons/");
You can then use your images by saying e.g.:
var b = new QxButton("submit.gif");
This path is then used for your relative URLs, but you could also use
absolute URLs.
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel