Ravatars is a plugin that will generate and assign icons to the visitors leaving comments at your site. The icons are based on email, so a given visitor will get the same icon each time
Ravatars is a plugin that will generate and assign icons to the visitors leaving comments at your site. The icons are based on email,
so a given visitor will get the same icon each time they comment. It is easy to customize the avatars so that they match your site’s topic or theme. It also makes comment threads easier to follow when people have memorable “faces.”
This plugin is based on Shamus Young’s Wavatars plugin.
And a shout out to Gregory Weir for bugfixes. Thanks!
Features:
You can customize the avatars your site will display to match your theme. Just upload source images to the
wp-content/plugins/ravatars/parts directory. Ravatars will create your custom avatars by choosing a random image and then cropping a random
part of the image
The icons are generated on-the-fly. You can adjust the desired size of the icons.
Easily integrates with avatar enabled themes
For easy deployment in WordPress pre 2.5, icons will automatically precede the commenter’s name. You can set HTML to come directly before and after the
icon (to put it inside of a <DIV> tag, for example) or you can control the placement of the icons manually if you don’t mind adding
a single line of PHP to your theme.
The same email will result in the same Ravatar every time, assuming that the source images don’t change the same. If you want avatars that are unique to your site, all you need to do is change the source images.
This plugin also supports Gravatars. If you like, it can show the Gravatar for a given user
(if available) and fall back on their Ravatar only if they don’t have a Gravatar set up. This means users can choose to set up a unique
icon for themselves, and if they don’t, they will be assigned a unique Ravatar. It’s a system that lets people personalize if
they want, yet still provide a decent icon for the lazy or apathetic.
Revision History
Version 1.0.1
Initial release.
Advanced Tricks
If you get a memory error
Image manipulation functions are very memory intensive. If you get a memory error, try reducing the size of your source images by lowering the resolution or cropping them into smaller parts. You can also increase PHP’s memory_limit.
Using ravatar_show ()
If you place Ravatars by calling ravatar_show () manually, note that you can also specify an optional “size” argument to override the
default. For example:
This would cause the Ravatar to be 160×160 pixels, even if the default was set to some other value. You could do this to make admin icons
larger, for example.
Using ravatar_get ()
If ravatar_show () STILL doesn’t give you enough control, you can call:
ravatar_get(email, size);
And it will return the URL to the created image without writing anything to the page.
Random Ravatar Field
Put this code in your theme:
for ($i = 0; $i < 100; $i++)
ravatar_show ($i);
It will generate a field of 100 random ravatars, which is cool. This is how I generated the ravatar screenshot. It’s also a great way to quickly
test your source images.
This website uses cookies to improve your experience. If you decide to use this website, you agree that certain cookies will be used. If you do not agree please close this website. Read moreACCEPT
Privacy & Cookies Policy
Privacy Overview
This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are as essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
Ravatars
€0
Ravatars is a plugin that will generate and assign icons to the visitors leaving comments at your site. The icons are based on email, so a given visitor will get the same icon each time
2.0.4
2014.06.24
10
2.0.2
2.7
0.00
0
Description
Ravatars is a plugin that will generate and assign icons to the visitors leaving comments at your site. The icons are based on email,
so a given visitor will get the same icon each time they comment. It is easy to customize the avatars so that they match your site’s topic or theme. It also makes comment threads easier to follow when people have memorable “faces.”
This plugin is based on Shamus Young’s Wavatars plugin.
And a shout out to Gregory Weir for bugfixes. Thanks!
Features:
wp-content/plugins/ravatars/parts directory. Ravatars will create your custom avatars by choosing a random image and then cropping a random
part of the image
icon (to put it inside of a <DIV> tag, for example) or you can control the placement of the icons manually if you don’t mind adding
a single line of PHP to your theme.
(if available) and fall back on their Ravatar only if they don’t have a Gravatar set up. This means users can choose to set up a unique
icon for themselves, and if they don’t, they will be assigned a unique Ravatar. It’s a system that lets people personalize if
they want, yet still provide a decent icon for the lazy or apathetic.
Revision History
Version 1.0.1
Advanced Tricks
If you get a memory error
Image manipulation functions are very memory intensive. If you get a memory error, try reducing the size of your source images by lowering the resolution or cropping them into smaller parts. You can also increase PHP’s memory_limit.
Using ravatar_show ()
If you place Ravatars by calling ravatar_show () manually, note that you can also specify an optional “size” argument to override the
default. For example:
This would cause the Ravatar to be 160×160 pixels, even if the default was set to some other value. You could do this to make admin icons
larger, for example.
Using ravatar_get ()
If ravatar_show () STILL doesn’t give you enough control, you can call:
And it will return the URL to the created image without writing anything to the page.
Random Ravatar Field
Put this code in your theme:
It will generate a field of 100 random ravatars, which is cool. This is how I generated the ravatar screenshot. It’s also a great way to quickly
test your source images.