[imp] Inserting images in HTML composition mode.

Jan Schneider jan at horde.org
Wed Sep 26 09:28:56 UTC 2007


Zitat von Anant Athavale <asa at isac.gov.in>:

> ----- Message from jan at horde.org ---------
>      Date: Wed, 26 Sep 2007 09:19:32 +0200
>      From: Jan Schneider <jan at horde.org>
> Reply-To: Jan Schneider <jan at horde.org>
>   Subject: Re: [imp] Inserting images in HTML composition mode.
>        To: imp at lists.horde.org
>
>
>> Zitat von Anant Athavale <asa at isac.gov.in>:
>>
>>> ----- Message from jan at horde.org ---------
>>>      Date: Tue, 25 Sep 2007 14:11:50 +0200
>>>      From: Jan Schneider <jan at horde.org>
>>> Reply-To: Jan Schneider <jan at horde.org>
>>>   Subject: Re: [imp] Inserting images in HTML composition mode.
>>>        To: imp at lists.horde.org
>>>
>>>
>>>> Zitat von Anant Athavale <asa at isac.gov.in>:
>>>>
>>>>> Dear List,
>>>>>
>>>>> We are using latest stable release of Horde 3.1/IMP 4.1 code.
>>>>>
>>>>> In HTML composition, we have noticed that URL which starts with
>>>>> file:// is not supported for Image insertion.  Is it likely to be
>>>>> available in future releases?
>>>>
>>>> Unlikely.
>>>>
>>>>> Basically, we want to insert images in between text which are
>>>>> available locally on a PC and can be viewed through browser with
>>>>> file:// URL.
>>>>
>>>> These images would have to be available on the recipient's PC, which
>>>> doesn't make any sense.
>>>>
>>>> Jan.
>>>
>>> You have misunderstood my requirement.  I want the files in my PC
>>> (images) to be inserted into HTML area while composing.  As I don't
>>> run WebServer on my PC, I want to insert them using file:: URL.
>>>
>>> Is that only URL goes in mail to the recipient and hence file is
>>> not allowed?
>>
>> It's not that it isn't allowed, but we use a HTTP request to retrieve
>> the image and embed it into the message. So any URL you provide has to
>> be GETtable through HTTP.
>
> OK.  I understood the problem.  Now, to resolve my requirement, can
> file:// can be introduced in future releases?  Should I file an
> enhancement request?

No, this won't work this way, because we can't access local files from  
the browser. Heaven forbid!
But me might be able to find some other way of uploading and embedding images.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the imp mailing list