[Zope] Re: uploading images?

Max M maxm@mxm.dk
Tue, 27 Aug 2002 13:44:37 +0200


Josef Meile wrote:

>I saw your solution and I think it has a problem. You're assuming that files
>have
>always an extension, but that's not true. What would happen with the Unix
>and
>MAC users who are not forced to give the file an extension to know that it's
>an
>image? I just tested what happened when importing a "bmp", "gif", or "jpg"
>without
>an extension:
>

You are right off course!

you should use the mimetype info instead of my approach.


regards Max M

    "klaatu verata niktu"