Blurred forum avatars
I reported this issue for BCU theme before.
Users' avatars in forum posts are displayed in low resolution, see the screenshot. Studying the code I find that the style attribute sets the dimensions as 35px, while the CSS makes it 50px that results in this blurry effect.
Any solution?
Comments (9)
-
-
- changed status to resolved
Fix
#298- user larger profile picture in forum posts→ <<cset a99effe0c7a1>>
-
Hi Alex,
You should find forum profile images are better now, could you test it and let me know if it works ok?
-
reporter Hi, Jeremy! Looks great now, thank you! There're some other rather minor issues with avatars, I'm going to post them soon. Probably they're worth attention as well.
-
reporter Hi, Jeremy! It seems that this solution works fine when you are on the forum page. But I've noticed that when forum posts are displayed on the front page in collapsed view the avatars are still blurred, see the screenshot. Maybe there is another style applied for them here. You can investigate this on the frontpage of my site after login.
Can we improve it?
-
Hi Alex,
There is a rule in the code to only apply this change within a forum, that is to stop it resizeing all avatars across all pages in the site.
I will have to look at adding another rule to apply it to the frontpage too, but that could be tricky as it may affect logged in users block.
-
Fix
#298- Use larger profile inmage on front page to improve view of forum posts.→ <<cset 697fbff88a32>>
-
Hi Alex,
You should find (if you test latest version) that the news posts on the front page now use the larger profile image and will no longer be blurred.
Please let me know if this is ok now.
-
reporter Hi Jeremy! Looks wonderful, thank you very much!
- Log in to comment
Hi Alex,
Moodle stores two profile images on the path /f1? (larger image) and /f2? (smaller image). If you right click and "view image" in your browser and change the url from "f2" to "f1" you will see it load the larger image. I think this is coming from the base theme and will have to find out how to override it.