Jump to the post that solved this thread.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 4 Years, 6 Months, 3 Weeks ago There is any way to show squared avatars?
#1
Solved: 4 Years, 6 Months, 3 Weeks ago
Hi,
I have a question, there is any way to make MyBB show squared avatars without lose the aspect/ratio of the picture?

So, if someone uploads a new avatar and its rectangular and show it as an square in postbit?

It is possible?
[Image: 40DS6Te.png]

Reply
#2
Solved: 4 Years, 6 Months, 3 Weeks ago
(03-31-2015, 02:47 AM)alv4 Wrote: there is any way to make MyBB show squared avatars without lose the aspect/ratio of the picture? It is possible?

It's not technically possible anywhere, not only in MyBB. That's how raster graphics work - pixels aren't dynamic and can't be resized without losing the correct ratio.

The only solution would be to add rectangular images inside a <div> with a padding - but that still wouldn't really make them look like squares either and requires a plugin.
Reply
#3
Solved: 4 Years, 6 Months, 3 Weeks ago
(03-31-2015, 01:12 PM)Destroy666 Wrote:
(03-31-2015, 02:47 AM)alv4 Wrote: there is any way to make MyBB show squared avatars without lose the aspect/ratio of the picture? It is possible?

It's not technically possible anywhere, not only in MyBB. That's how raster graphics work - pixels aren't dynamic and can't be resized without losing the correct ratio.

The only solution would be to add rectangular images inside a <div> with a padding - but that still wouldn't really make them look like squares either and requires a plugin.

I though that!
It is comprensible.
Thanks!
[Image: 40DS6Te.png]

Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)