Avatar resize in core

https://www.phpbb.com/ideas/
Post Reply
Ideas Bot
Registered User
Posts: 359
Joined: Sat Oct 13, 2012 10:06 am

Avatar resize in core

Post by Ideas Bot » Fri Sep 08, 2017 5:34 pm

It would be interesting if phpbb had the resize avatars feature by default. The admin sets the maximum dimensions (in px) in the ACP and when the user enters an avatar larger than the one defined in the ACP will be resized.

koraldon
Registered User
Posts: 404
Joined: Sat Jun 30, 2007 12:42 pm

Re: Avatar resize in core

Post by koraldon » Fri Sep 08, 2017 7:07 pm

I know my users find it difficult indeed to use avatars, this will make it much easier to use.

User avatar
jsebean
Registered User
Posts: 378
Joined: Sat Dec 12, 2009 3:20 pm
Location: Atlantic Canada
Name: Jonah
Contact:

Re: Avatar resize in core

Post by jsebean » Thu Sep 28, 2017 1:30 am

This semi-exists with just using gravatar.
-Jonah
:lol:

User avatar
thecoalman
Former Team Member
Posts: 2334
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.

Re: Avatar resize in core

Post by thecoalman » Wed Oct 25, 2017 10:20 pm

I would suggest the following.
  • Pluplaod for upload which can handle resizing and EXIF client side.
  • Setting for max size of avatar only effects avatar itself because...
  • Avatar is linked to profile, use thumbnail size image on profile page.
  • Link from thumbnail on profile page to full sized image.

Tomba
Registered User
Posts: 130
Joined: Tue Jun 18, 2002 7:52 am
Location: Belgium
Name: Steven De Groote
Contact:

Re: Avatar resize in core

Post by Tomba » Sun Nov 19, 2017 7:45 pm

Some code already exists for this. It only needs to be adapted and fitted into the core I think.
http://jrpickeral.com/?p=255

Various board system already support this, so a no-brainer to add this.

User avatar
david63
Jr. Extension Validator
Posts: 13197
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: Avatar resize in core

Post by david63 » Sun Nov 19, 2017 9:38 pm

Tomba wrote:
Sun Nov 19, 2017 7:45 pm
Some code already exists for this
That link is for phpBB 3.0
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

HaioPaio
Registered User
Posts: 1
Joined: Mon Nov 27, 2017 4:33 pm
Name: Gerd

Re: Avatar resize in core

Post by HaioPaio » Mon Nov 27, 2017 4:48 pm

This seem to work under 3.2 viewtopic.php?f=496&p=14832536
Looks like an easy fix.
Is there any reason not to follow this road?

User avatar
SalazarAG
Registered User
Posts: 665
Joined: Mon Mar 30, 2015 10:48 am

Re: Avatar resize in core

Post by SalazarAG » Wed Nov 29, 2017 10:48 pm

I already know these tutorials, and Dion Design (for 3.2) really works. But the problem is that it is stressful to make this snippet every time you have to upgrade the forum to another version, which is why it would be cool if resizing avatars was a default feature. .
I'm sorry for my English. Google Translator does a bad job. :D

Post Reply

Return to “phpBB Ideas”

Who is online

Users browsing this forum: AmigoJack, Crizzo, DavidIQ, KevC and 3 guests

cron