[imp] (no subject)
Michael Wright
michael@abditory.com
Fri, 17 May 2002 20:18:36 -0400
A true mime driver would be cleaner, yes, but no one has built it and I don't
have the time. This solution is a "hack" at best but it works like a champ.
Just a few lines of php and I was done.
Oh, and images sent with IMP that have images attached won't display inline
with IMP out-of-the box. At least not with any configuration I've ever seen.
I'm not talking about html e-mails that already have <img> tags embedded, I'm
referring to regular e-mails that have images _attached_ as separate files.
This hack checks for the existence of image attachments and automatically adds
the <img> tag to the body of the e-mail.
v/r
-michael
Quoting Jan Schneider <jan@horde.org>:
> Zitat von Michael Wright <michael@abditory.com>:
>
> > ALCON,
> >
> > Over the year or two that I have used IMP, I have seen several requests
> > for
> > inline images on this listserv. I haven't found code on this listserv to
> > solve
> > this request, though I admit I may not be looking hard enough. If this
> > functionality is already out there, please accept my apology and delete
> > this
> > message with all due speed. :-)
>
> I don't know if I miss something, but if the html messages are formatted
> correctly the attached images are already displayed inline. That is if the
> src attribute of img tags point to a "cid:" (If I remember right) url.
>
> I think what people requested is a mime driver for images so that IMP can
> be
> configured to display them inline. That would be a much cleaner solution.
>
> Jan.
>
> --
> http://www.horde.org - The Horde Project
> http://www.ammma.de - discover your knowledge
> http://www.tip4all.de - Deine private Tippgemeinschaft
>
> --
> IMP mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org
>
-=-=-=-=-=-=-=-=-=-=-=-=
http://www.abditory.com
For when you just can't
get enough of me!
-=-=-=-=-=-=-=-=-=-=-=-=