I use gem 'boxr', I want to get a thumbnail of the uploaded file, the code is:
image = client.thumbnail( file, min_height: 300, min_width: 300, max_height: nil, max_width: nil )
But instead I get this image
How do I get a thumbnail of a uploaded file, but not this picture with a format image?
Please sign in to leave a comment.