[Product-Developers] Re: PloneFlashUpload treating some jpg files like files
david.bain at alteroo.com
Thu Nov 13 12:13:07 UTC 2008
To answer my own question.
The problem turned out to be related to the content_type_registry.
see the screenshot:
Apparently the content_type_registry is case sensitive when it comes
to file extensions (this may only be the case on UNIX) so .JPG will
not be treated as an ATImage.
Add the uppercase version of the extension (JPG) to the list of
ATImage extensions (ATImage_ext).
On Thu, Nov 13, 2008 at 6:59 AM, David Bain <david.bain at alteroo.com> wrote:
> While using PloneFlashUpload I noticed that when I try to upload
> images that end with all caps for the extension for example
> Myimage.JPG), the image is treated like a "File" and, as a result, it
> doesn't get the "IATImage" interface.
More information about the Product-Developers