vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Avatar Size Problem (https://vborg.vbsupport.ru/showthread.php?t=251470)

Pro-eSports.com 10-01-2010 01:41 PM

Avatar Size Problem
 
I gave Admins the permission to upload 250x250 avatars but for some reason the avatars are always smaller as the limit. Straight after upload it shows the proper size but in the postbit it's way too small.

http://i107.photobucket.com/albums/m...1Oct011638.gif
http://i107.photobucket.com/albums/m...2Oct011639.gif

TheLastSuperman 10-01-2010 01:50 PM

Stylevars > Postbit > postbitlegacy_userinfo_width

Postbitlegacy Userinfo
Units px
Size CHANGE to 250 or 260 so it has 5px side margins etc.

If you buy more grain, you must buy a bigger bucket basically so in essence you enlarged the size of the Avatar yes but not the size of the container it was displayed in ;).

Pro-eSports.com 10-01-2010 02:18 PM

Why does the image appear like 18px smaller (width) in the postbit info?

Anyways, in order to have the avatar 250px width I had to change the "postbitlegacy_userinfo_width" to 278px.

jefferis 01-12-2012 08:24 PM

We have large avatars loaded in profiles up to 600 px wide, but when seen in the posts they are only 60px wide. We set the stylevar above to 250 px but it isn't changing things. I uploaded a new avatar just to make sure it wasn't a legacy issue. We are using a theme based upon vB default theme and just upgrade to 4.1.9.1

http://www.igotaevo.com/vBforum/imag...667&type=thumb

60px ? 40px

betts02 01-12-2012 08:28 PM

Why would anyone want an avatar 600px wide ?

Thats usually the same size for sigs

I.G.O.T.A. 01-12-2012 08:30 PM

Quote:

Originally Posted by betts02 (Post 2287048)
Why would anyone want an avatar 600px wide ?

Thats usually the same size for sigs

It's not its 200x200 he got confused. The profile pic is 600x600.

We upgraded and all the avatars are super small. I checked all settings in the user groups and they are good. I'm lost on this one.

kh99 01-12-2012 08:34 PM

Quote:

Originally Posted by jefferis (Post 2287046)
We have large avatars loaded in profiles up to 600 px wide, but when seen in the posts they are only 60px wide. We set the stylevar above to 250 px but it isn't changing things. I uploaded a new avatar just to make sure it wasn't a legacy issue. We are using a theme based upon vB default theme and just upgrade to 4.1.9.1

http://www.igotaevo.com/vBforum/imag...667&type=thumb

60px ? 40px

I think it's because it has "&type=thumb" on the end of the url. I'm not sure if there's a setting to remove that.

betts02 01-12-2012 08:35 PM

As above, You can see by taking it off an getting ;

http://www.igotaevo.com/vBforum/imag...ine=1326402667

kh99 01-12-2012 08:39 PM

In the postbit code there's this:

Code:

$usethumb = (($this->template_prefix == 'vbcms_')
        OR ($this->registry->userinfo['styleid'] == $this->registry->options['mobilestyleid_advanced']
        OR $this->registry->userinfo['styleid'] == $this->registry->options['mobilestyleid_basic']));


so it looks like it could have to do with settings for mobile styles (like a style id for basic and advanced mobile styles)? I don't know anything about that stuff.

Edit: Under Style & Language Settings, makes sure Default Style for Old Mobile Browsers and Default Style for Modern Mobile Browsers are "None".

I.G.O.T.A. 01-12-2012 09:24 PM

It worked! Thank you.


All times are GMT. The time now is 04:03 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01606 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete