Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt November 11, 2024
LGC Posted February 20, 2015 Posted February 20, 2015 I'm trying to completely remove all the circled avatars, but ran into a problem. It seems like it's impossible to have a non square avatar. The user group settings make you have a fixed width/height.
craigf136 Posted February 20, 2015 Posted February 20, 2015 In custom.css add .ipsUserPhoto_large img, img.ipsUserPhoto_large, .ipsUserPhoto_large:after { border-radius: 0; height: 90px; width: 90px; } You can change the width and height to suit, the default radius is 45px - the result can be seen in image below.
craigf136 Posted February 20, 2015 Posted February 20, 2015 I've amended the avatars on ours ever so slightly. .cAuthorPane_photo { background: url("images/dy8uol.jpg") no-repeat scroll 0 0 rgba(0, 0, 0, 0); height: 150px; margin-left: auto; margin-right: auto; padding-top: 26px; width: 150px; }
LGC Posted February 27, 2015 Author Posted February 27, 2015 In custom.css add .ipsUserPhoto_large img, img.ipsUserPhoto_large, .ipsUserPhoto_large:after { border-radius: ; height: 90px; width: 90px; } You can change the width and height to suit, the default radius is 45px - the result can be seen in image below. I've amended the avatars on ours ever so slightly. .cAuthorPane_photo { background: url("images/dy8uol.jpg") no-repeat scroll rgba(, , , ); height: 150px; margin-left: auto; margin-right: auto; padding-top: 26px; width: 150px; } I tried using both methods and the profile pictures look extremely LQ
Management Charles Posted February 28, 2015 Management Posted February 28, 2015 Or you can just do this:
WOFman Posted February 28, 2015 Posted February 28, 2015 Awesome Sauce!!! I hate the rounded avatars! Fixed on my forum. Thanks Charles!
LGC Posted March 1, 2015 Author Posted March 1, 2015 Or you can just do this: Right but that only helps if I want it as a square, and we have them currently set up to 200 height x 180 width
LGC Posted March 3, 2015 Author Posted March 3, 2015 Any fix for this? When you upload an avatar, the cropper forces you to use a square. Can I disable the cropping feature?
steve00 Posted September 30, 2018 Posted September 30, 2018 4 hours ago, Arahnid said: I join the issue You want a rectangular avatar ?
Arahnid Posted October 2, 2018 Posted October 2, 2018 I want the original aspect ratio of the image to be kept.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.