News:

Wondering if this will always be free?  See why free is better.

Main Menu

Cosmetic problem with SMF 1.0 beta [AVATARS]

Started by Forse, March 14, 2004, 01:11:14 PM

Previous topic - Next topic

Forse

Hello

Well I thought picture shows it better then 1000 words:
HTTP://www.animeyume.org/Upload/files/SMF.jpg [nofollow]

I used remote avatar and it didn't resize avatar on top, but it did resize avatar in posts. Also avatar on top gets cut. I know it's not a big issue, but I just REALLY want to use SMF for my upcoming site (which should be large).

bostasp

I've noticed that. It happens on my board and here as well.

Chris Cromer

It happens on all boards. It is like this for a reason, there was a bug that caused it to totally screw up the size of the top part of the board with large avatars. This fixes that bug.
Chris Cromer

"I was here, here I was, was I here, sure I was" - The little voice in my head.

David

I love pictures as examples!

I know Douglas brought this up in regards to his avatar on the team board.  I don't however remember the exact reasoning and rationale behind how it is implemented.
This space for rent.

[Unknown]

If it doesn't clip it, you'd get strange weird problems in IE.  I couldn't figure out why, so I just gave up and clipped it :P.

-[Unknown]

Forse

Quote from: [Unknown] on March 14, 2004, 04:56:26 PM
If it doesn't clip it, you'd get strange weird problems in IE.  I couldn't figure out why, so I just gave up and clipped it :P.

-[Unknown]

Will it be fixed? Also maybe I could mod source not to include avatar there...?

[Unknown]

To remove the avatar, make a copy of the theme and all that, and remove this:

<div class="smalltext" style="margin: 5px; font-family: verdana, arial, sans-serif;', !empty($context['user']['avatar']) ? ' background-image: url(' . $context['user']['avatar']['href'] . '); background-position: top right; background-repeat: no-repeat;' : '', '">

-[Unknown]

Ironside82

What about posting pictures in general. Very large picture used to strech the page to accomodate them. now its clipped to the size of the page :s

[Unknown]


Akimbo

how about resizing avatars so they fit there?  Is that possible?

[Unknown]

Yes, you just set it to do so in your settings.

-[Unknown]

Akimbo

no, i mean resizing avatars so they fit in the user info box, while still being 100x100 in the message view. Or is that what you meant?  If so, I can't find the setting.

7summits

Can't you just put img width="75" somewhere in the templates? Or is the height the problem?

By the way as the Avatar is used as a background image, the texts go over it if you look at a small resized window, which is very ugly. Again, this does not happen on this board, but in the public beta it does.
Check out the modded http://7summits.com/forum for info about climbing the highest mountains on the 7 continents on earth!    Send my avatar as an ecard here :-)

Mike O

I replaced that line in my template with this....

<div class="smalltext" style="margin: 5px; font-family: verdana, arial, sans-serif;"><img src="' . $context['user']['avatar']['href'] . '" height="68" style="position: absolute; right: +1px; top: +1px; clear: both;" alt="" />';

and it looks ok.... time will tell......
--
mike o

Mike O

#14
Ok, I was foolish and didn't take into consideration what would happen in the absence of an avatar, so try this.....

<div class="smalltext" style="margin: 5px; font-family: verdana, arial, sans-serif;">', !empty($context['user']['avatar']) ? '<img src="' . $context['user']['avatar']['href'] . '" height="68" style="position: absolute; right: +1px; top: +1px; clear: both;" alt="" />' : '', '';
--
mike o

[Unknown]

Now try a really big avatar.  In all the different browsers.

-[Unknown]

Daniel D.

I think no one will have a really big avatar. Ok, you can't be sure, but really big ? Doesn't the GD resize method prevent it - if enabled ?

scotbuff

Some of my members have Avatars that are 170 width.  The Avatar is clipped on all posts.  Prior to the public beta this was not a problem.  Does anyone know how I can set the width of the first column to a set amount.  Since the first column auto-sizes those browsing in lower resolutions do not see half of their avatar.  Thanks in advance.

Regards.

Chris Cromer

Quote from: Daniel D. on March 18, 2004, 03:09:50 AM
I think no one will have a really big avatar. Ok, you can't be sure, but really big ? Doesn't the GD resize method prevent it - if enabled ?
But some people can't enable it... specifically people without GD. :P
Chris Cromer

"I was here, here I was, was I here, sure I was" - The little voice in my head.

Advertisement: