User avatars issues
error 232
From: -
From: -
Notice
This topic is archived. New comments cannot be posted and votes cannot be cast.Responses to this topic
1 Re: User avatars issues
error
OP
232
From: -
From: -
That works. Thank you.
1 Re: User avatars issues
Philipp Esselbach
From: -
Editor
0From: -
Interesting, it looks like that the way IPB resize things is different then in other products. Basically, it seems that they are using the width/height parameters to resize the image in the browser rather then resizing it directly on the server.
You could try the following small modification in template news_story_comment_avatar to resize all avatars to 100x100.
Replace:
with:
You could try the following small modification in template news_story_comment_avatar to resize all avatars to 100x100.
Replace:
<img src="https://www.contentteller.com/contentteller{$insert['param_ext']}{$insert['param_ct']}users{$insert['param_action']}avatar{$insert['param_id']}{$insert['newscomment_author_avatar']}" alt="" />
with:
<img src="https://www.contentteller.com/contentteller{$insert['param_ext']}{$insert['param_ct']}users{$insert['param_action']}avatar{$insert['param_id']}{$insert['newscomment_author_avatar']}" height="100" weight="100" alt="" />
1 Re: User avatars issues
error
OP
232
From: -
From: -
Works like a charm. Just one thing. Big avatars are not resized.
1 Re: User avatars issues
Philipp Esselbach
From: -
Editor
0From: -
Thanks for that table. This table was a great help to understand IPB's avatar system better. I attached an updated classes/class_uwrapper_ipb2.php to this post.
Please try it out and let me know how it works.
class_uwrapper_ipb2_fix.zip
Please try it out and let me know how it works.
class_uwrapper_ipb2_fix.zip
1 Re: User avatars issues
error
OP
232
From: -
From: -
Table sent.
1 Re: User avatars issues
Philipp Esselbach
From: -
Editor
0From: -
Are they blank? Can you possibly send me a SQL dump of your IPB member_extra table?
In the news comment section some avatars show up, some not.
CT RC3
IPB2.3.5