displaying images in embedded html on SSL hosts
Liam Hoekenga
liamr@umich.edu
Wed, 16 Jan 2002 16:55:03 -0500
hey guys -
our IMP installation is on a secure webserver. we've enabled the display of
inline html - mainly to allow people to read messages from hotmail and such w/o
having to spawn a separate window (as hotmail's messages all seem to show up as
html attachments).
anyways... we get the broken key icon for <img src="http://blah.com/blah.jpg">
tags in said html email messages (as secure web pages don't want to display
images located on non-secure sites)... we commonly see this in messages like the
"advertising circulars" sent out by buy.com, amazon, etc (when they choose to
send you "html" email instead of plain text).
on normal, secured websites, we normally display graphics from non-secure sites
by using a cgi wrapper (we call image):
#!/bin/csh
if ($?PATH_INFO) then
echo "Location: `echo $PATH_INFO | cut -c2-2048`"
else if ($?QUERY_STRING) then
echo "Location: $QUERY_STRING"
endif
echo ""
and our image src tags look like:
<img src="/cgi-bin/image?http://www.blah.com/blah.jpg">
might it be possible to have IMP do something similar if HORDE is told to
generate https URLS?
liam