SID-01616: Profile pictures
| Status: |
Answered |
TWiki version: |
5.1.0 |
Perl version: |
|
| Category: |
CategorySkin |
Server OS: |
|
Last update: |
13 years ago |
Hello,
your help please:
Is it possible to add the poster's profile picture next to every post?
Thanks!
--
lior meuc - 2013-01-03
Discussion and Answer
Do you mean in signatures? This can be done by defining a
Parameterized Variable, such as:
* Set USERSIG = <img src="%IF{ "'%FORMFIELD{ "Image" topic="%USERSWEB%.%DEFAULT%" }%'!=''" then='%PUBURLPATH%/%USERSWEB%/%DEFAULT%/%FORMFIELD{ "Image" topic="%USERSWEB%.%DEFAULT%" }%' else='%PUBURLPATH%/%USERSWEB%/UserProfileHeader/default-user-profile.jpg' }%" height="16" alt="" border="0" /> %USERSWEB%.%DEFAULT%
Which can be used like:
-- %USERSIG{PeterThoeny}% - 2012-01-03
Shown here in your and my signature.
This setting can be done in Main.TWikiPreferences to take effect site-wide.
--
Peter Thoeny - 2013-01-04
See new proposal at
ConfigurableSignaturesWithPictures.
--
Peter Thoeny - 2013-01-04
This is now implemented in SVN trunk; also installed on TWiki.org. The implementation is more sophisticated than the one shown on top here.
--
Peter Thoeny - 2013-01-05
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.