Skip to content

Make sure 'fit' variable is an int for thumbnails

Sébastiaan Versteeg requested to merge fix/428-photo-thumbnail-fit into master

Closes #428 (closed)

Previous behaviour

Steps to reproduce:

  1. Upload 1024h768w photo
  2. Look up thumbnail
  3. It's cropped

New behaviour

Steps to validate that it works:

  1. Upload 1024h768w photo
  2. Look up thumbnail
  3. It's been resized

Merge request reports