v7.0.1 - Strange bug with animated gif avatars
|
Posted
#87157
(In Topic #17779)
|
|
|---|---|
|
Community saint |
On my site I'm using 75x75 avatars and one of my members chose this: This avatar is actually 175x75 yet ocportal accepted it. Windows sees this as 49x66, and I suspect that ocportal thinks the same, which I assume is the size of the first frame and not that of the largest frame. I don't particularity mind it as it looks good when shown in forum posts, but its inconsistent everywhere else. On the member profile page it appears in a lopsided border, and if it was in a blog post it would appear off-centre and the fireball gets cut off by the avatar box. Of course if anything bigger slips-through then it could end up looking really ugly. I'm guessing this is still happening in later versions.
Last edit: by temp1024
Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio .
|
|
Posted
|
|
|
ocStaff (admin) |
If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource. |
|
Posted
|
|
|
Community saint |
Code
$sx=imagesx($source);
Code
if(get_file_extension($avatar_url)=='gif')
Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio .
|
|
Posted
|
|
|
ocStaff (admin) |
If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource. |
| Important! |
Posted
|
|
ocStaff (admin) |
Automated fix messageThis issue has been filed on the tracker as issue #621, with a fix. If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource. |
| Important! | |
|
Posted
|
|
|
Community saint |
Yep, and if you did do a deep inspection of each frame you would find that you couldn't always guarantee to make the numbers work anyway. For example, if we look at the largest frame in the above animation we get: Code
154 x 64 <- Largest frame size
Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio .
|
1 guests and 0 members have just viewed this: None
Control functions:






Last edit: by 

