sketchucation logo sketchucation
    • Login
    πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    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

      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
      • thomthomT Offline
        thomthom
        last edited by

        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

          @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
          • thomthomT Offline
            thomthom
            last edited by

            @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
            • First post
              Last post
            Buy SketchPlus
            Buy SUbD
            Buy WrapR
            Buy eBook
            Buy Modelur
            Buy Vertex Tools
            Buy SketchCuisine
            Buy FormFonts

            Advertisement