#4115: contrib.thumbnails
---------------------------+------------------------------------------------
Reporter: SmileyChris | Owner: adrian
Status: new | Component: Contrib apps
Version: SVN | Resolution:
Keywords: | Stage: Design decision needed
Has_patch: 1 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
---------------------------+------------------------------------------------
Comment (by [EMAIL PROTECTED]):
Hi, I've found 2 little bugs ;)
If the image size is shorter than the expected one, thumbnail filter
should raise a ThumbnailTooShort exception (methods.py:L10), it try a
variable interpolation with the 2 itens list variable "size", the size is
a list, not a tuple, should be converted to a tuple elsewhere (maybe in
the base.py:L18).
If the image isn't a JPEG, thumbnails try to append ".jpg" to the end of
filename, the string don't have a "append" method, should use += syntax
(see the base.py:L34).
I will send a patch fixing these errors but now I am having problems with
svn :D
Thanks
--
Ticket URL: <http://code.djangoproject.com/ticket/4115#comment:19>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---