Eve Support Community
Forums
Eve Community
Customization Ideas
Eve Avatar Manager|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Groupee |
Eve 1.2 changed the avatar scaling code and caused some quirky behavior. As a side effect, admins started to notice that some users had very large avatars.
This script will "walk" your /evefiles/avatars directories and find all the custom (uploaded) avatars and determine which ones are oversized (both in dimensions and filesize). You can select which ones you want to re-size. Re-sized avatars go in a /avatartemp directory, from which you can update the users profile, uploading the new avatar. Install Instructions are in the zip, let me know if you hit any bumps. http://evedev.com/resources/scripts/avatars.zip |
||
|
|
Groupee Member |
So if I understand correctly, this will update and resize the images, but after doing so, you would then have to go into a user's profile and link their avatar to the new resized image?
|
|||
|
|
|
Hi Jeremy,
The script will resize the avatars to the /avatartemp location. You will have to then go into the user's profile and re-upload the new, resized avatar from the avatartemp directory. The alternative would be to copy the file from the avatartemp directory directly to the user's avatar directory based on the path shown in the script output. Hope that helps. Regards, Brian Lenz Groupee Inc. |
|||
|
|
Groupee VIP |
In fact you want to upload the /avatartemp version to the user's profile. Because of file permissions, the script can't overwrite the old image. You as admin have to update it through the UI. PS -- I would use this script as a tool and delete it and the /avatartemp directory after use. There's no point leaving things around for snoopy people. Infopop Corporation |
|||
|
|
Groupee |
Jeremy,
We ran into two problems that made it necessary for admins to manually update a users profile in order to change their avatar. The first was the permissions, the second was that ImageMagick can't resize animated gifs. Doing so causes them to lose animation and become slightly distorted. Thus, it is better that the avatars are saved to a temporary location so you can review them. |
|||
|
|
Groupee Member |
Excellent, just making sure I understood how it worked before doing it. I'll have to give it a try later today. Thanks!
|
|||
|
|
Groupee |
My pleasure. Feel free to provide any and all feedback/criticism here or at evedev.com.
|
|||
|
| Previous Topic | Next Topic | powered by eve community |
| Please Wait. Your request is being processed... |
|
Eve Support Community
Forums
Eve Community
Customization Ideas
Eve Avatar Manager
