Hi.
I really like the custom UI. I've set it up per instructions and installed a custom path in the ObjLibrary.cfg.htm file:
code: Object Library;/Users/chipp/Dropbox/Moi/ObjectsDONTMOVE
This works fine except the previews don't work. In otherwords I can use the tool to save objects to remote folder, as well as load objects from remote folder, but the PNG preview does not display (it did when the cfg file pointed to the default location).
The PNG preview DOES EXIST in the folder and looks correct when opened.
Here's what I see:
FWIW, I did try all sorts of permutations of the path name: putting double "//" before and/or after as well as putting it in quotes.
Next, I looked into the ObjLibrary.menu.htm file and added at the correct location:
code: document.write (iconname);
and it showed
(note the last backslash)
I was able to change the last backslash thinking THAT was the issue:
code: iconname = iconname.replace("\\","/"); but that didn't work.
I then tried to HARD CODE the display of an image just to see if I could even get a local path image to display:
code: document.write ('<div class="preview"><img class="icon" src="file:///Users/chipp/Dropbox/Moi/ObjectsDONTMOVE/Cube.png"></div>');
Still no image displayed. Any ideas on what else I can do to ObjLibrary.cfg.htm to get the images to preview correctly?
|