• Login
sketchucation logo sketchucation
  • Login
⚠️ Libfredo 15.4b | Minor release with bugfixes and improvements Update

Display binary data as image in WebDialog?

Scheduled Pinned Locked Moved Developers' Forum
4 Posts 2 Posters 193 Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    NewOne
    last edited by 20 Jun 2009, 09:31

    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.

    1 Reply Last reply Reply Quote 0
    • T Offline
      thomthom
      last edited by 20 Jun 2009, 09:49

      Save the image to a temp location and pass on the file location to the webdialog.

      Thomas Thomassen — SketchUp Monkey & Coding addict
      List of my plugins and link to the CookieWare fund

      1 Reply Last reply Reply Quote 0
      • N Offline
        NewOne
        last edited by 20 Jun 2009, 10:43

        @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?

        1 Reply Last reply Reply Quote 0
        • T Offline
          thomthom
          last edited by 20 Jun 2009, 10:51

          @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?

          Thomas Thomassen — SketchUp Monkey & Coding addict
          List of my plugins and link to the CookieWare fund

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          1 / 1
          • First post
            1/4
            Last post
          Buy SketchPlus
          Buy SUbD
          Buy WrapR
          Buy eBook
          Buy Modelur
          Buy Vertex Tools
          Buy SketchCuisine
          Buy FormFonts

          Advertisement