Skip to content

Commit c86f399

Browse files
committed
Fixes issue Kotti#2 from kotti_images.
Images scale now correct to a bounding box without cropping anything.
1 parent c821f44 commit c86f399

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kotti_image/views/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def image(self, subpath=None):
101101
image, format, size = scaleImage(self.context.data.file.read(),
102102
width=width,
103103
height=height,
104-
direction="thumb")
104+
direction="thumbnail")
105105
res = Response(
106106
headerlist=[
107107
('Content-Disposition', '{0};filename="{1}"'.format(

0 commit comments

Comments
 (0)