We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d5ed3e8 commit 04fcc5dCopy full SHA for 04fcc5d
server/server/data/images.py
@@ -60,5 +60,5 @@ def get_unsplash_url(index, width, height):
60
raw_url = images[index]
61
width = str(width)
62
height = str(height)
63
- modified_url = raw_url + '?w=' + width + '&h=' + height
+ modified_url = raw_url + '?fit=crop&w=' + width + '&h=' + height
64
return modified_url
0 commit comments