The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Avatar sizing restrictions

View previous topic View next topic Go down

In progress Avatar sizing restrictions

Post by UltimateShinobi on January 19th 2013, 2:43 am

'Displays a small graphic image below your details in posts. Only one image can be displayed at a time, its width cannot exceed 150 pixels, the height cannot exceed 150 pixels, and the file size cannot be higher than 64 KB.'

I have this option selected because I don't want want peoples avatars exceeding 150x150 but they still can have larger ones.

What am I doing wrong?

UltimateShinobi
Forumember

Male Posts : 118
Reputation : 0
Language : English
Location : Australia

http://www.ultimateshinobi.org/forum

Back to top Go down

In progress Re: Avatar sizing restrictions

Post by zenzo on January 19th 2013, 4:19 am

i think they already upload their avatar before you customize on your acp

try to reupload their avatar


zenzo
Forumember

Posts : 464
Reputation : 13
Language : english,tagalog
Location : philippines

Back to top Go down

In progress Re: Avatar sizing restrictions

Post by Sanket on January 19th 2013, 5:05 am

Forum URL? You can resize it.

Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

In progress Re: Avatar sizing restrictions

Post by UltimateShinobi on January 19th 2013, 5:24 am


UltimateShinobi
Forumember

Male Posts : 118
Reputation : 0
Language : English
Location : Australia

http://www.ultimateshinobi.org/forum

Back to top Go down

In progress Re: Avatar sizing restrictions

Post by Sanket on January 19th 2013, 5:35 am


Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

In progress Re: Avatar sizing restrictions

Post by UltimateShinobi on January 19th 2013, 6:30 am

I'm quite surprised I have to add CSS coding to override an internal admin setting like that, oh well. I gave it a go and it seems it works for new images.

I'm wondering why it doesn't effect existing users' avatars?

UltimateShinobi
Forumember

Male Posts : 118
Reputation : 0
Language : English
Location : Australia

http://www.ultimateshinobi.org/forum

Back to top Go down

In progress Re: Avatar sizing restrictions

Post by Sanket on January 19th 2013, 6:32 am

The code shall work for all users.

Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

In progress Re: Avatar sizing restrictions

Post by UltimateShinobi on January 19th 2013, 6:36 am

It doesn't appear that it is and I've just discovered that if somebody puts up an avatar via an URL link, not uploading it from their computer. It is still the size it wants to be, not 150x150.

UltimateShinobi
Forumember

Male Posts : 118
Reputation : 0
Language : English
Location : Australia

http://www.ultimateshinobi.org/forum

Back to top Go down

In progress Re: Avatar sizing restrictions

Post by Sanket on January 19th 2013, 6:42 am

URL to that thread where the size is bigger even after adding that code?

Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

In progress Re: Avatar sizing restrictions

Post by zenzo on January 19th 2013, 6:47 am

how to remove that url or hide it

zenzo
Forumember

Posts : 464
Reputation : 13
Language : english,tagalog
Location : philippines

Back to top Go down

In progress Re: Avatar sizing restrictions

Post by UltimateShinobi on January 19th 2013, 7:01 am

It's on their profiles, and I'm being told by a member that its still the same size on the side widget for them.

Here's an example: http://www.ultimateshinobi.org/u1834

UltimateShinobi
Forumember

Male Posts : 118
Reputation : 0
Language : English
Location : Australia

http://www.ultimateshinobi.org/forum

Back to top Go down

In progress Re: Avatar sizing restrictions

Post by Sanket on January 19th 2013, 8:00 am

Add this in your css. See if the avatar in the profile reduces.
Code:
tr td.row1 img {
    max-width: 100px !important;
    max-height: 100px !important;
}

Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

In progress Re: Avatar sizing restrictions

Post by Setsugekka on January 19th 2013, 8:27 am

I'm also a staff member on the site and while this works, it also reduces all images posted on the site to that small size.

Originally, the code I had looked like:

Code:
#content-container #left a img{
    max-width: 180px !important;
  max-height: 100px  !important;
  min-height: 18px  !important;
  min-width: 16px  !important;
}

#content-container #left img {
  height: 150px; width: 150px;
}

Problem is that the img tag shrinks all images. If we change it to

Code:

#content-container #left a img {
height: 150px; width: 150px;

It changes EVERY image on the widget except the login widget avatar because the login widget image is not a link.

I thought about trying to make the login widget avatar link to the profile so that it'd be included in the a img, but I have no clue how to do that.

I thought about doing #content-container #left img:not(.a img) but it seems forumotion doesn't support the not() CSS3 property.

Setsugekka
New Member

Male Posts : 8
Reputation : 1
Language : English, Spanish, Japanese

http://setsugekka.forumotion.com/

Back to top Go down

In progress Re: Avatar sizing restrictions

Post by Sanket on January 19th 2013, 8:29 am

Yes, with phpbb2 the css is restricted. I will see if anything can be done via templates.

Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

In progress Re: Avatar sizing restrictions

Post by UltimateShinobi on January 19th 2013, 9:21 am

Let us know if you find anything, or if you don't. :/

UltimateShinobi
Forumember

Male Posts : 118
Reputation : 0
Language : English
Location : Australia

http://www.ultimateshinobi.org/forum

Back to top Go down

In progress Re: Avatar sizing restrictions

Post by Cassius Dio on January 19th 2013, 12:18 pm

Hi,

Have you tried the code posted above by Sanket? If it isn't working try:
Code:
table.forumline tr td.row1.gensmall img{
    max-width: 100px !important;
    max-height: 100px !important;
}

Cassius Dio
Forumember

Male Posts : 581
Reputation : 79
Language : Romanian &English
Location : Yellow Submarine

http://beatles.forummo.com/

Back to top Go down

In progress Re: Avatar sizing restrictions

Post by slavib on January 19th 2013, 11:36 pm

how code phpBB3

slavib
Forumember

Male Posts : 84
Reputation : 2
Language : Bulgarian
Location : Bulgaria

Back to top Go down

In progress Re: Avatar sizing restrictions

Post by Sanket on January 20th 2013, 4:49 am

@slavib wrote:how code phpBB3
It would be better if you make a new thread for your problem.

Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum