Skip to content

Commit 25dc189

Browse files
committed
Actually return url with get_crop.
1 parent 5263c96 commit 25dc189

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cropduster/templatetags/cropduster_tags.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def get_crop(image, crop_name, **kwargs):
5050
return None
5151

5252
data.update({
53-
"url": Image.get_file_for_size(image=image, size_name=crop_name),
53+
"url": Image.get_file_for_size(image=image, size_name=crop_name).url,
5454
"width": thumb.width,
5555
"height": thumb.height,
5656
"attribution": image.related_object.attribution,

0 commit comments

Comments
 (0)