=========
Date: Thu, 26 Jul 2001 19:05:24 -0700
From: Stephen Recker <[EMAIL PROTECTED]>
Subject: <lingo-l> Best way to post graphic to web?

I've got postNetText() working to put text in a net directory, but how do I
send a graphic to the web? I'm not talking about emailing it, I just want to
use Director to send a graphic from my desktop to a folder on my web site.
==========

You can use my Xtra vList. You can save your image (member().media, 
member().picture, member().image.duplicate()) to one of its 
container. The Xtra has a method to encode that to a MIME-Base64 
encoded string you can send to your server with postNetText(). Note 
that you will need some cgi on your server to save that to a file and 
then you can use any standard MIME-Base64 decoder on it (Stuffit or 
WinZip will do).

Limitations:

Better to use Director 8.5 as there is a bug in Director 8 and before 
that somehow limits postNetText() to less than 64 k (even 50 or 23 K 
in some cases I cannot remember precisely). Also Director 8.5 Mac has 
also a bug (!) and the limit is 40.000 characters. But no problem in 
Windows, and no problem with Shockwave on the Mac.

Daniel Devolder

Check my vList Xtra for saving Lingo lists with optional encryption

http://www.updatestage.com/xtras/vlist.html

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to