![]() |
Nope - it's not a tag thing when you have inline styles ...
One option (and I don't know if this will work) is to have some additional code added to the part of showthread that grabs the avatar that will give you the width and height statement ... I'll look into it man... |
OK - a solution to this is a separate hack:
In includes/functions_showthread.php: Find: PHP Code:
PHP Code:
Find: Code:
<img src="$avatarurl" Code:
<if condition="$avatarimgsrc">$avatarimgsrc </if> Code:
$avatarimgsrc = "style="width:$avatarbits[0]px;height:$avatarbits[1]px" |
the includes/functions_showthread.php edit resulted in:
Quote:
Quote:
|
Undo that edit, then point me to your site: I'll take a lok at what your site generates as $avatarurl and then get more info for you.
NOTE: this last bit of this hack is not something that is a part of the original a new hack as I said - so I'm not sure how far I can support PNG avatars... unless you switch your Avatars to store them in the filesystem, as opposed to the database - that might make a difference. |
I undid it. My site: www.onlinedebate.net/forums
Now, perhaps something of interest. I have vbadvanced CMPS. The avatar displayed w/ a transparent background with CMPS (block in the upper right hand corner). It was when I went to the forums, that all hell broke loose. |
Question: do you store your avatars in the database or the filesystem?
|
This will work within templates, right?
|
Quote:
|
Can you paste in here the code you have used ?
Remember you need to specify a height and width for the image. |
he has a new version of his script up that does not require dimensions
|
All times are GMT. The time now is 06:17 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|