Skip to content

Commit

Permalink
Actually return url with get_crop.
Browse files Browse the repository at this point in the history
  • Loading branch information
ctbarna authored and Dintino committed Apr 10, 2015
1 parent d73e725 commit a3f54ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cropduster/templatetags/cropduster_tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def get_crop(image, crop_name, **kwargs):
return None

data.update({
"url": Image.get_file_for_size(image=image, size_name=crop_name),
"url": Image.get_file_for_size(image=image, size_name=crop_name).url,
"width": thumb.width,
"height": thumb.height,
"attribution": image.related_object.attribution,
Expand Down

0 comments on commit a3f54ce

Please sign in to comment.