vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   Distorted avatars (https://vborg.vbsupport.ru/showthread.php?t=257106)

loua_oz 01-14-2011 03:44 AM

Distorted avatars
 
Hello,
To accomodate for a 273KB gif avatar for Administrator, I changed max pixels (from 80x80 to 100x100) and size (from 20,000 to 300,000 bytes) for Administrator's avatar.

Then applied that (larger avatar allowance) to Supermoderator and Moderator groups.

After that, for one one supermod , I uploaded a 63KB avatar and it got distorted like this:


http://www.srbijadotokija.com/home/i..._distorted.JPG


For an ordinary user (Group: Registered users) I did no change to avatar parametares (default: 80x80 pixels, 20,000bytes) and this 63KB file got uploaded and resized to fit (no action or plugins) and nicely, no distortion. Like this:


http://www.srbijadotokija.com/home/i...ndistorted.JPG


I changed back te parameters for Supermod and Moderators group to the default but no change - still distorted as if it keeps previous max size somewhere.

Cleared the browser cache (Internet Options -> Tools -> Delete Files) but still.

I kind of noticed that some of vB support staff on this board have large, simple but distorted avatars. Could that be the same thing that is causing me what i see as an undesired appearance of (distorted) avatars?

Videx 01-17-2011 08:15 PM

No clue. But I don't recall seeing any distorted avatars here.? I know I always crop and resize my avatars before uploading them.

loua_oz 01-18-2011 11:05 AM

I think it is a bug.

Once larger avatar size is allowed, remains and does not care of any right-sizing. Setting it back to any value has no effect.

Avatars for users and groups that had seen no change (to their size in CPanel), do well.

I could be wrong or doing something wrong.

Videx 01-18-2011 11:42 AM

Maybe. Try GD if you're using ImageMagick (or vice versa).

loua_oz 01-18-2011 11:48 AM

I think it should not need anything. Just like not touched values for user groups that work fine.

In my 1st post it was visible. vB staff can reproduce the problem, I think.

And what the problem might be: once grown avatar size can not be scaled back, not even to vB defaults.

TheLastSuperman 01-18-2011 05:56 PM

Rebuild counters?

AdminCP > Maintenance > Update Counters

Look for:

Rebuild Custom Avatar Thumbnails
Number of avatars to process per cycle
Include automatic JavaScript redirect to next page?

The second time you tried the images were still close to the original "re-sized" size so not much distortion if any at all took place, until you rebuild counters it will always seemed "mucked up" after you change values like that.

loua_oz 01-18-2011 11:57 PM

Rebuild Custom Avatar did not change anything.

However, when I went into CPanel, edited the user and manually changed the avatar (to what it was already, just reloaded it) but to

"Resize image to user's maximum allowed dimensions
As defined by their usergroup(s)"
ticked "No",

avatar appeared undistorted.

Users do not have that option and I don't know how they would cope. They may think they are doing something wrong and not report the problem.

--------------- Added [DATE]1295415312[/DATE] at [TIME]1295415312[/TIME] ---------------

Quote:

Originally Posted by Videx (Post 2150654)
No clue. But I don't recall seeing any distorted avatars here.? I know I always crop and resize my avatars before uploading them.

This is one (could be the owner wanted it that way):



http://www.vbulletin.com/forum/showt...=1#post1716108

Videx 01-19-2011 12:21 PM

Steve's avatar doesn't look distorted here.


All times are GMT. The time now is 02:58 PM.

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.01059 seconds
  • Memory Usage 1,727KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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