Hi Jon,
> Yes, "file --brief --mime" on Mac also returns "image/jpeg".
Great! That's good news.
I've changed it in "lib/http.l" and "wiki/er.l".
Cheers,
- Alex
--
UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe
Hi Alex,
On 4/19/10 10:28 AM, Alexander Burger wrote:
Hi Jon,
If I use "file -bI" instead, I get "image/jpeg".
That's what I suspected. The 'file' command behaves different on Linux
and Mac (-bI vs -bi).
We must either dispatch depending on the '*OS' global, or find a
portable way.
Does th
Hi Jon,
> > If I use "file -bI" instead, I get "image/jpeg".
>
> That's what I suspected. The 'file' command behaves different on Linux
> and Mac (-bI vs -bi).
>
> We must either dispatch depending on the '*OS' global, or find a
> portable way.
Does the 'file' command on Mac OS support the '--m
Good morning Jon,
> > Does it return something like "image/jpeg; charset=binary"?
>
> No, I get just "regular file", both for the .d files and for .jpg files.
>
> If I use "file -bI" instead, I get "image/jpeg".
That's what I suspected. The 'file' command behaves different on Linux
and Mac (-bI
Hi again, Alex.
> Hi Jon,
>
>> > Really? In the generated HTML code? E.g. if you view the page source
>> in
>> > your browser?
>>
>> Yes, there's no tag in the generated page source, just the
>> "MyImg" as plain text where the tag should have been.
>
> OK, then I it was indeed the case that the '
Hi Jon,
> > Really? In the generated HTML code? E.g. if you view the page source in
> > your browser?
>
> Yes, there's no tag in the generated page source, just the
> "MyImg" as plain text where the tag should have been.
OK, then I it was indeed the case that the 'file' command on the Mac did
n
Hi Jon,
> This far I can see no difference. I copied the entire db/wiki/ from my
> previous picoLisp installation to the new one. I'm afraid that's how far
> I'll come today. Maybe I'll find some time tomorrow.
This I understand now, as the file extension was not the problem.
The changes fixed t
Hi Alex,
> On Sun, Apr 18, 2010 at 02:20:34PM +0200, Alexander Burger wrote:
>> Actually, the culprit is the 'http' server function. It sends a mime
>> type of "application/octet-stream" (as can also be seen in the output of
>> 'trace' in my previous mail) if the file extension is not in '*Mimes'.
Hi Alex,
> Hi Jon,
>
>> I've changed my mind: I think this is a PicoLisp wiki problem. ;-)
>
> Yes, it must be somehow.
>
>> After all, I have successfully uploaded a wiki logo and a picture of
>> myself to my local wiki. It's just the embedded ones, <{...} and >{...},
>> I
>> have problems with.
On Sun, Apr 18, 2010 at 02:20:34PM +0200, Alexander Burger wrote:
> Actually, the culprit is the 'http' server function. It sends a mime
> type of "application/octet-stream" (as can also be seen in the output of
> 'trace' in my previous mail) if the file extension is not in '*Mimes'.
OK, I found a
On Sun, Apr 18, 2010 at 01:39:33PM +0200, Alexander Burger wrote:
> Too bad! What's the correct way to handle this?
Actually, the culprit is the 'http' server function. It sends a mime
type of "application/octet-stream" (as can also be seen in the output of
'trace' in my previous mail) if the file
On Sun, Apr 18, 2010 at 01:26:39PM +0200, Alexander Burger wrote:
> The difference may be that the logo and the picture in the +User object
> have the "correct" file extension. In case of the logo it is ".png", and
> for the user picture it is ".jpg".
>
> In case of the (embeddedable) blobs it it
Hi Jon,
> I've changed my mind: I think this is a PicoLisp wiki problem. ;-)
Yes, it must be somehow.
> After all, I have successfully uploaded a wiki logo and a picture of
> myself to my local wiki. It's just the embedded ones, <{...} and >{...}, I
> have problems with.
The difference may be t
Hi Alex,
> Hi Jon,
>
>> I have also tried this with Firefox on Mac. No image showing there
>> either.
>> ...
>> I believe this probably isn't really a PicoLisp wiki problem.
I've changed my mind: I think this is a PicoLisp wiki problem. ;-)
After all, I have successfully uploaded a wiki logo and
Hi Jon,
> I have also tried this with Firefox on Mac. No image showing there either.
> ...
> I believe this probably isn't really a PicoLisp wiki problem.
The data seem to be there. So perhaps the reason is that the HTML
generated by the server is not correct? There must be something like
T
Hi,
I'm trying to include an image in a document in my local wiki, but the
image won't show. This is what I do:
When I'm in Edit mode, I type a name, say MyImg, into the "Specify a name"
field, then I click the "Chose File" button (I use Safari on Mac) and
selects a .jpg file, then I click the "U
16 matches
Mail list logo