Actually, if you got PIL proper set up, it might be an idea to add tiff / tif as well

(eps might work too, but it error prone (eps can be a lot of things))

Den 13. nov. 2008 kl. 13.16 skrev David Bain:

For those of you who may find this solution via Google, here is the
summary of the fix.

Go to {yourplonesite}/manage > content_type_registry > ATImage_ext

To the list of "Extensions" add 'JPG' (that's all caps) (for fun and
profit you can also add 'PNG' and 'GIF'.)


On Thu, Nov 13, 2008 at 7:13 AM, David Bain <[EMAIL PROTECTED]> wrote:
To answer my own question.
The problem turned out to be related to the content_type_registry.

see the screenshot:
http://img.skitch.com/20081113-cx9b3xeuahj3ahs2dpkp8hda11.jpg

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.

The solution:
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 <[EMAIL PROTECTED]> 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.



_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to