Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+3 votes
461 views
in Themes by
Q2A allows users to add a profile picture of their own dimensions.

But, I want the users avatar to be resized to square though they have uploaded images with any other dimensions in their profiles.

What changes should I make to the source code?

I can provide any information if required?

1 Answer

+4 votes
by

Unfortunately cropping images isn't a core feature on Q2A yet. But yes, it would be nice to have this implemented in the future.

Although you could suggest your users to preferably upload square images for their avatars, or do a bit of CSS and JS wizardry like I do on my themes to achieve this same result. Cropping images with CSS 

...