[imp] alternative.gif - what is it?

Chuck Hagenbuch chuck@horde.org
Thu, 21 Mar 2002 17:16:21 -0500


Quoting Terry Davis <tdavis@approbation.org>:

> actually, why would a user want to know that the message is of
> alternative type, hence the icon?

I don't understand how this is different from the question I answered.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"A dream which helps you to live your reality with dignity
 and justice is a good dream." - Tariq Ramadan


>From tdavis@approbation.org Date: 21 Mar 2002 16:19:44 -0600
Return-Path: <tdavis@approbation.org>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 91264 invoked from network); 21 Mar 2002 22:18:37 -0000
Received: from scooby.mailhauler.com (HELO scooby.approbation.org) (66.180.0.16)
  by clark.horde.org with SMTP; 21 Mar 2002 22:18:37 -0000
Received: from td.birddog.com (birddog237.birddog.com [63.125.164.237])
	by scooby.approbation.org (8.11.6/8.11.2) with ESMTP id g2LMPrD32170
	for <imp@lists.horde.org>; Thu, 21 Mar 2002 16:25:53 -0600
From: Terry Davis <tdavis@approbation.org>
To: imp@lists.horde.org
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.2.99 Preview Release
Date: 21 Mar 2002 16:19:44 -0600
Message-Id: <1016749189.13387.54.camel@td>
Mime-Version: 1.0
Subject: view images inline - no luck

Hello,

I tried this once before and was unsuccessful.  I just want these
settings for imp so I put this in my imp/config/mime_drivers.php file:

$mime_drivers_map['imp']['registered'] = array('text', 'html', 'jpeg',
'gif');

$mime_drivers['imp']['jpeg']['inline'] = true;
$mime_drivers['imp']['jpeg']['icons'] = array(
         'default' => 'image.gif' );
$mime_drivers['imp']['jpeg']['handles'] = array(
        'image/jpeg');

/**
 * Gif driver settings
 */

$mime_drivers['imp']['gif']['inline'] = true;
$mime_drivers['imp']['gif']['icons'] = array(
         'default' => 'image.gif' );
$mime_drivers['imp']['gif']['handles'] = array(
        'image/gif');

First, it does not display the image inline like expected, and when I
try to open it I get this error:

Fatal error: Call to a member function on a non-object in
/home/web/secure.domain.com/horde/imp/view.php on line 77

I appreciate any help in this matter.

-- 
Terry Davis
http://approbation.org/