Advertisement:

Author Topic: how to remove default avatar minimum dimensions?  (Read 10571 times)

Offline eskie

  • Semi-Newbie
  • *
  • Posts: 45
how to remove default avatar minimum dimensions?
« on: April 16, 2017, 10:39:52 PM »
on my forum, i've set the maximum avatr dimensions to 150x150px, which is fine. but avatars that are smaller than this automatically become rezied to 150x150px, which is certainly not what i wanted.

an image below shows this: as you can see, my own avatar has been resized to fit the maxiumum dimensions, as the original imaged is actually only 20x20px so you can see this.


how can i fix this?

Offline Linkjay

  • Jr. Member
  • **
  • Posts: 206
  • Gender: Male
  • eh
    • My Homepage.
Re: how to remove default avatar minimum dimensions?
« Reply #1 on: April 16, 2017, 10:58:39 PM »
You must have changed more than the maximum size of a profile picture in the admin settings. If you just set the maximum width and height in the admin settings, it should not be behaving this way afaik.
I play games in my free time and volunteer my knowledge and support to the gaming communities of the internet.

You can contact me by these methods:
Use my Contact Script • PM me here • Add me on Steam

Offline eskie

  • Semi-Newbie
  • *
  • Posts: 45
Re: how to remove default avatar minimum dimensions?
« Reply #2 on: April 16, 2017, 11:10:09 PM »
any idea as to what might cause this then? i'm not sure where to check, now.

Offline Linkjay

  • Jr. Member
  • **
  • Posts: 206
  • Gender: Male
  • eh
    • My Homepage.
Re: how to remove default avatar minimum dimensions?
« Reply #3 on: April 16, 2017, 11:19:23 PM »
I guess try and revert everything you did and after it reverts back to normal, just set the maximum height and width under Admin -> Forum -> Attachments and Avatars -> Avatar settings for each one you're using. (Uploadable or external avatars)

What exactly did you do to accomplish this? Did you mess with any of the code to do this? Can you link your site?
I play games in my free time and volunteer my knowledge and support to the gaming communities of the internet.

You can contact me by these methods:
Use my Contact Script • PM me here • Add me on Steam

Offline Antechinus

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 24,136
  • Master of BBC Abuse
Re: how to remove default avatar minimum dimensions?
« Reply #4 on: April 20, 2017, 08:59:59 PM »
This is caused by using the html resize option. It sucks, big time. Change the admin setting to use the javascript resize, which is much better.

Offline eskie

  • Semi-Newbie
  • *
  • Posts: 45
Re: how to remove default avatar minimum dimensions?
« Reply #5 on: April 21, 2017, 08:44:14 PM »
thank you so much, antechinus!! it works perfectly, now.