fixed avatar width or height

Discussion forum for MOD Writers regarding MOD Development.
Locked
ecwpa
Registered User
Posts: 107
Joined: Thu Sep 25, 2003 2:13 am
Contact:

fixed avatar width or height

Post by ecwpa » Fri Feb 13, 2009 8:03 pm

hello guys,

i did a little modification for the first post of every thread of my forum in order to make it look a bit different

The problem is that i have to reduce the avatar height, but since phpbb actually include both dimensions of the avatars if I change the height the avatar width won't change according to that

to make it clear, what I need is to reduce the avatars dimentions, using the height as a reference

how can i do that without messing with phpbb?
carefull, not english speaker native here

User avatar
tumba25
Former Team Member
Posts: 4430
Joined: Wed Jun 06, 2007 6:42 am
Location: Kokkola, Finland.
Name: Jari Kanerva
Contact:

Re: fixed avatar width or height

Post by tumba25 » Fri Feb 13, 2009 8:30 pm

You can't.

You could do something with postrow.S_FIRST_ROW in the template but phpbb would still put in the avatar dimensions.
Need a mod/extension created/installed, other custom-coded solution or a server admin? https://tumba25.net

ecwpa
Registered User
Posts: 107
Joined: Thu Sep 25, 2003 2:13 am
Contact:

Re: fixed avatar width or height

Post by ecwpa » Fri Feb 13, 2009 9:16 pm

oh well, i was thinking I can use a div as a container and then crop the avatar with max-width and max-height with css, I think it would work but I'm not sure I can center a cropped image inside a fixed div

thanks for the help anyway
carefull, not english speaker native here

Locked

Return to “[3.0.x] MOD Writers Discussion”