Just installed this nice package and started using it, but the preview of a selected image did not work. The javascript code, which should do this, is: imageViewer.reloadPage(id); But imageViewer is never defined...
So I changed it to this and it works: $("#imageViewer")[0].contentWindow.reloadPage(id);
Bug with image preview?
Hi there!
Just installed this nice package and started using it, but the preview of a selected image did not work.
The javascript code, which should do this, is:
imageViewer.reloadPage(id);
But imageViewer is never defined...
So I changed it to this and it works:
$("#imageViewer")[0].contentWindow.reloadPage(id);
Am I the only one experiencing this issue?
I haven't experienced it yet, but i'll look into it.
Well, could you tell me where the imageViewer var should be defined? I can't find it anywhere.
The imageViewe didn't need to be defined because it was the id of an iframe. I've now update to code to this:
You can download v1.1 of the Tribal Yet Another Media Picker 4 here.
is working on a reply...