Bridge UI not displaying images, OK in ESTK. Why?

General Discussion of Scripting for Adobe Bridge

Moderators: Kukurykus, Tom, xbytor

mattski

Bridge UI not displaying images, OK in ESTK. Why?

Post by mattski »

Can anyone shed some light at a following problem.
I have a UI that will be displayed in Bridge, part of it is a file preview of an image. Everything works well when I run it in ESTK, but when Bridge is targeted, I get a blank frame.
Yes all my images are jpg.
Code is as simple as:
Code: Select allvar myNewFile = "~/Desktop/temp/mytestfile.jpg";
var w = new Window ("palette", "Thumbnail");
var thumbnail = w.add ("image",undefined, myNewFile);
w.show();