In the comments, automatically create a color image (img) with the first two letters of Author name
How can I use Pluxml or a plugin to automatically create an img image (without using gravatar) with the first two letters of the comment author's name, e.g. for the author Franky (class=“comment__author”) - inside a colored box (using simple colors, no more than 7) create a green image: [ Fr ], then a blue Alex: [ Al ], etc. ??? It is desirable that the color of the image be fixed for the author of the message so that there is no color confusion.
This would look stylish and modern. Because no one registers on the blog, people just write to each other in the comments below the article.
For example:
Franky
Hello, I'm back in touch!
Alex
Hi, I'm doing great!
...
My site Micron. Free hosting: infinityfree.com | php 8.3.19 without alternative.
Mots clés:
Connectez-vous ou Inscrivez-vous pour répondre.

Réponses
Hello,
On my website I use this :
commentaires.php
And in class.plx.show.php I add :
after public function comAuthor($type='') {}
Also, you need to replace comDate2(); with comDate();, same thing with comContent2...
May be it can help you,
Regards.
https://www.unelio.com
https://github.com/unelio