I get the same error since the latest svn upgrade. I tried adding a
"u" before the thumbnail dimensions to make the string unicode in the
template but it doesn't work.

Ex.: <img src="{{ appartment.get_main_photo_url|
thumbnail:u"width=600,height=600" }}" />

I also tried adding the encoding instructions

#!/usr/bin/python
# -*- coding: utf-8 -*-

on top of the thumbnail.py file, but it doesn't work either.

Has anyone any other idea? Thanks!!!

Divan

On Sep 6, 9:05 am, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
> hi,
>
> after upgrading to the unicode (latest svn head) nesh thumbnails dont
> work saying: TypeError,Make_thumbnail() keywords must be strings.
> Any clues?
>
> --
>
> regards
> kghttp://lawgon.livejournal.comhttp://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-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
-~----------~----~----~----~------~----~------~--~---

Reply via email to