From aab2bca40aeeb58c2f85f3d7f7545f2a3ca3eb04 Mon Sep 17 00:00:00 2001 From: Aaron Date: Fri, 1 Jun 2012 06:27:18 -0500 Subject: [PATCH] fixed typo --- README | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README b/README index 2606021..be960b6 100644 --- a/README +++ b/README @@ -1,4 +1,3 @@ - Django Image Helper Provides a model mixin that has 'image' and 'thumbnail' fields. @@ -30,7 +29,7 @@ RELEASE NOTES: See the example project for a working sample. The basics: class MyModel(models.Model): - image = fields.SidedImageField(upload_to="the_directory", size=(500, 500), thumbnail_size=(200, 200)) + image = fields.SizedImageField(upload_to="the_directory", size=(500, 500), thumbnail_size=(200, 200)) Then you can access both the image and thumbnail in code or templates by: