bootcamp icon indicating copy to clipboard operation
bootcamp copied to clipboard

branch develop: user profile images are not in 1:1 aspect ratio

Open ngaurav opened this issue 7 years ago • 1 comments

Picture.js in master branch was handling that. But I understand, using sorl.thumbnail doesnot require cropping. But recangular images appear in oval shape in the new feed page which looks does not look as good as circular images of master branch.

In the templates the common syntax is: {% thumbnail reply.user.picture "x60" as im %} instead, We should use {% thumbnail reply.user.picture "60x60" as im %} or {% thumbnail reply.user.picture "60x60" crop="center" as im %}

On top of this we should allow users to pick the center of the image. Which may require picture.js

ngaurav avatar Jun 28 '18 07:06 ngaurav

Not everybody has portrait pictures; I guess there are a lot of selfies and those are not squared. But you're right, the functionality to upload additional pictures would be useful.

sebastian-code avatar Jun 28 '18 20:06 sebastian-code