It is not something to do with the upload_to path. I managed to track down the problem, I was passing the full url to the thumbnail templatetag (i.e. "provider.logo.url") but it should be just the relative URL (i.e. "provider.logo").
Thanks. -- omat On Dec 6, 9:10 pm, SmileyChris <smileych...@gmail.com> wrote: > upload_to should not have a trailing slash > > On Dec 7, 5:16 am, omat <o...@gezgin.com> wrote: > > > > > The model is as simple as can be: > > > class Provider(models.Model): > > name = models.CharField(max_length=100) > > logo = models.ImageField(upload_to='logo/', > > blank=True, null=True) > > > Thanks. > > > -- > > omat > > > On Dec 6, 4:45 pm, Kenneth Gonsalves <law...@au-kbc.org> wrote: > > > > On Sunday 06 Dec 2009 4:27:47 pm omat wrote: > > > > > Sorl thumbnail is creating invalid directories for thumbnails in my > > > > development environment (mac os x, django dev server). > > > > do not blame Sorl thumbnail - please post that part of your model that > > > shows > > > 'upload_to' setting. > > > -- > > > regards > > > Kenneth Gonsalves > > > Senior Project Officer > > > NRC-FOSShttp://nrcfosshelpline.in/web/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.