![]() |
Avatar Glossy Effect - Postbit_Legacy
1 Attachment(s)
I found a really cool Javascript library that automatically adds a cool Glossy Shine effect to an image. You can add the Glossy Shine to any image on your forum, but I think it looks best with user's avatars.
And the best part is, the end-user doesn't need to do anything extra. They just upload their Avatar as normal, and when they see their avatar in posts, it will have a professional looking Shine/Glossy effect. Lets get started! 1) First download the zip at the bottom, extract the contents, and upload the "js" folder to your forum root. 2) Add this code to your headerinclude template. Code:
3) Edit the postbit_legacy template. Find: Code:
You have to basiclly put a class on the avatar "IMG" tag. Like this: Code:
I also added a screenshot of what it will look like when its done. EDIT: You could also use the Javascript to make any image have the Glossy/Shine Effect. I added the code to my Postbit Legacy and the User Profile Avatars. I changed the code in the profiles so instead of the profiles showing the Profile Pictures, it only shows the User's Avatar with the Glossy/Shine Effect. I added a screenshot of my profiles with the Avatar Shine/Glossy effect. |
Pretty cool, and looks great on the site, thanks!
|
|
Does this take any additional resources?
|
Quote:
|
Quote:
|
thank you
|
All times are GMT. The time now is 07:18 PM. |
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:
|