[imp] IMP: Creating mime_drivers

Fran (Francoise) Le Bouleix Fran at his.com
Tue Apr 15 16:23:24 PDT 2003


HI,

I tried to modify mime_drivers.php and create a driver to handle images
inline: I added these lines in mime_drivers.php

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

/* Images driver settings  */ $mime_drivers['imp']['image']['inline'] =
true; $mime_drivers['imp']['image']['icons'] = array(
          'default' => 'image.gif' );
$mime_drivers['imp']['image']['handles'] = array(
         'image/gif', 'image/jpeg', 'image/png', 'image/tiff');

Amd I get this error:
Fatal error: Call to a member function on a non-object in
/usr/local/www/horde/imp/view.php on line 77

Where do I get a viewer for images?
Is there somewhere a library of MIME vievers for IMP?

Regards,

Fran
Heller Information Services
http://www.his.com
Questions? check our FAQs http://faq.his.com

 




More information about the imp mailing list