Display binary data as image in WebDialog?
-
How can binary data to be displayed as images in IE?
I'm using dezip to read thumbnail from sketchup material and that image must be displayed in webdialog.
Base64 is not an option because IE supports URI just from ver8. One possibility is to use php in other versions. But not the option I want.Thank you.
-
Save the image to a temp location and pass on the file location to the webdialog.
-
@thomthom said:
Save the image to a temp location and pass on the file location to the webdialog.
Yes, this was my last option. But, if I have a lot of materials, I think this will be a long process. And if I delete the material, the image will remain and will feed the webdialog with wrong informations (the picture will show, but the related material will not exist).
Did anybody tried WxSU?
-
@newone said:
And if I delete the material, the image will remain and will feed the webdialog with wrong informations (the picture will show, but the related material will not exist).
Why not delete the image when the material is deleted?
And purge your temp folder when you create new model.hmm... flash maybe?
Advertisement