[dev] showing images inline

Jon Parise jon@csh.rit.edu
Thu, 1 Mar 2001 12:17:28 -0500


On Thu, Mar 01, 2001 at 11:04:43AM -0500, Chuck Hagenbuch wrote:

> > What is required to have IMP 2.3 show jpgs inline?  Is this available now, 
> > or would it be an extra feature?
> 
> Right now we don't do it. It wouldn't be that much trouble, but with a big 
> picture it'd throw the browser _way_ out of whack...

Right, unless we were to constraint it somehow by forcing the height
and width, but that would require the libgd functions to do correctly.
 
> Also, what do people think about forgetting the 'inline' option (except for 
> maybe html attachments) and just going by the content-disposition (inline => 
> inline, attachment => new window) of the part?

That sounds like a pretty good idea.

-- 
Jon Parise (jon@csh.rit.edu)  .  Rochester Inst. of Technology
http://www.csh.rit.edu/~jon/  :  Computer Science House Member


>From chuck@horde.org Date: Thu,  1 Mar 2001 14:05:06 -0500
Return-Path: <chuck@horde.org>
Mailing-List: contact dev-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list dev@lists.horde.org
Received: (qmail 82250 invoked from network); 1 Mar 2001 19:06:07 -0000
Received: from 208-59-178-62.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO marina.horde.org) (208.59.178.62)
  by horde.org with SMTP; 1 Mar 2001 19:06:07 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id 23D8C3CA9; Thu,  1 Mar 2001 14:05:07 -0500 (EST)
Received: from 206.243.191.252 ( [206.243.191.252])
	as user chuck@marina.horde.org by marina.horde.org with HTTP;
	Thu,  1 Mar 2001 14:05:06 -0500
Message-ID: <983473506.3a9e9d62d35fc@marina.horde.org>
Date: Thu,  1 Mar 2001 14:05:06 -0500
From: Chuck Hagenbuch <chuck@horde.org>
To: dev@lists.horde.org
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
Subject: Re: [dev] showing images inline

Quoting Jon Parise <jon@csh.rit.edu>:

> Right, unless we were to constraint it somehow by forcing the height
> and width, but that would require the libgd functions to do correctly.

Yeah... ick.

> > Also, what do people think about forgetting the 'inline' option (except for
> > maybe html attachments) and just going by the content-disposition (inline
> > => inline, attachment => new window) of the part?
> 
> That sounds like a pretty good idea.

Done, along with a few other MIME system cleanups... There's tons more to do in 
this area; I'm fairly unhappy with the way view functions live in mimetypes.lib 
right now. If at all possible, I'd like the view functions to become fairly 
generic and move into Horde, so that Gollem and Chora can use them too...

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"We have no fuel on board, plus or minus 8 kilograms." -A NASA scientist