Karim,

add image/pjpeg to the mime-types list. ie 6 uses this mime type for jpeg images.
does that help?


Regard
Johannes

Karim ALKHADER wrote:

Hello,

You 're rigth Joose.
I just forgot to mentioned I tried this way.
And it's only working fine with bmp and jpeg.



Sorry : it's only working fine with bmp and gif, not with jpeg ang png !!!



Regards

Karim




Hi,

why not just put mime-type="image/png, image/jpeg, image/gif, image/bmp" ?

- Joose

30.7.2004 kello 11:18, Karim ALKHADER kirjoitti:

Hello


I made a mistake : mime-types="image/*" doesn't seem to work at all... (is it supposed to?)
Anyway it's still strange for jpeg or png pictures.
Is there somebody who have experienced this?


Thanks

Karim



Hello

I'm using Cocoon 2.1.5, I' ve got trouble with CForm widget upload with pictures.
In the upload form model if I have :


- ok with bitmap pictures, doesn't work with jpeg, gif and png ("upload invalid type")
- .... mime-types="image/bmp" -> ok for bitmap
- .... mime-types="image/jpeg" -> doesn't work for jpeg pictures
- .... mime-types="image/gif" -> ok for gif
- .... mime-types="image/png" -> doesn't work for png


I really have no idea of what can be wrong !!!
Thanks for any help.

Regards

Karim


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
"Always remember that you are unique, just like everyone else!"
* http://iki.fi/joose/ * [EMAIL PROTECTED] * +358 44 561 0270 *


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to