LC Server Image Weirdness
Rick Harrison
harrison at all-auctions.com
Sat Jul 20 12:17:19 EDT 2013
Ok, so I have the LC 6.1.0 server
running on a Macintosh, and I'm
uploading an image to the server
through a webpage and storing it
onto the server.
I'm trying to display the image
on the webpage to show that
it completed properly etc.
I'm using the statement:
put "<img src=" & quote & tNewName & quote & " /></a><br />" & cr
The webpage completes all the
way through without errors, but the
image doesn't display at all. The
image gets uploaded, but when I
try to open the image with "Preview",
it complains that the image is
corrupted somehow. I find I can
open the image up just fine in
"GraphicConverter" and if I then
save the file using "GraphicConverter"
the file gets fixed and will
display properly in "Preview".
If I put in a statement like:
put image "BogusImageName" into VarBogusImageName
into the .lc webpage it causes the webpage to
throw an error, (Chunk: no such object), as expected,
but the interesting thing is that now
the image I was trying to display before that wasn't showing
now shows up just fine! Furthermore, the file uploaded
shows up fine in Preview without any corruption whatsoever.
Does anyone have a clue as to what is causing this weirdness
and what I can do to fix the problem of the image not showing?
Thanks in advance,
Rick
More information about the use-livecode
mailing list