I'm stumped by this issue I'm having with the nesh thumbnail utilities. I have PIL installed and I've gotten nesh utils working... except it never saves the thumbnails it's supposed to create (I'm primarily using the template filter, but I've also tried the ImageWithThumbnailField). It doesn't return any errors, so by all appearances it should be working. I've been debugging it fairly extensively and what seems to be happening is that even though utils.py imports the settings and deconstructs and reconstructs the image path with MEDIA_ROOT and MEDIA_URL, the path it tries to save the image to doesn't include MEDIA_ROOT (and I've seen this occur in other functions within utils.py too). It should of course and the code definitely tries to do it with all the os.path.join calls, but I've modified the code to return "th_path" (which is what's used when saving the thumbnail) instead of "th_url" (the normal return string) and it's just the relative path from MEDIA_ROOT. But that should throw an error anyway if it's trying to save from the server's root directory and it doesn't, so I don't know what else to try.
Also, I've jumped into the python shell numerous times (both python2.3 and python2.4) and run the core Image commands (open, thumbnail, save) and it's worked every time. So... what's going on with utils.py and make_thumbnail, I have no idea. Has anyone else run into this? Lastly, I read one thread where someone suggested changing utils.py to "from PIL import Image". I tried that but nothing changed, so I don't think it's an issue of PIL not being found. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---