🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Konto Get it free
User Photo icon
Möglicherweise aufgegeben Tested up to 4.6.30 #42 in images

User Photo

Allows a user to associate a profile photo with their account through their “Your Profile” page. Admins may add a user profile photo by accessing the “Edit User” page. Uploaded images are resized to fit the dimensions…

Aktive Installationen3K+1K + Stufe
Downloads · 30d937▲ +32.7% vs prev. 30d
Wertung4.3/520 Bewertungen
Gesundheits-Score42/100Messe
Downloads aller Zeiten491.1KSeit Dezember 2007
Unterstützung gelöst—Keine aktuellen Threads
erfordertWP 3.0.5PHP ANY
Downloads · 7d229▼ -2.6% week over week
Unser Urteil

Mit Vorsicht verwenden

User Photo works, but test it on a staging site before relying on it in 2026. It runs on 3K+ sites, is rated 4.3/5 and was last updated 9 years ago, and scores 42/100 on our health check.

  • Momentum — downloads up 32.7% vs the previous 30 days
  • Kein Update in 9 Jahren
  • Nur getestet bis WordPress 4.6 (letzt ist 7.1)

Wie stapelt es sich?

Side-by-side bei Installationen, Updates, Bewertungen und Support

Tägliche Downloads

142944Sep 2Oct 16Nov 30
Gestern32
Täglicher Durchschnitt (1 Jahr)12
Spitzentag5925.10.2026
Letzte 12 Monate4.3K

Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.

Ranglisten

Where User Photo stands today

WordPress.org Ranglisten suchen

Live-Position in der Plugin-Suche, Top 100
StichwortPositionKonkurrierende PluginsKategorie
images >100 10,000 Best images plugins →
photos >100 4,334 Best photos plugins →
users >100 10,000 Best users plugins →

Versionsübernahme

Anteil aktiver Sites pro Release.

  • 0.999.6%
  • 0.80.40%

Bewertungsaufschlüsselung

★★★★★★★★★★ 4.3 from 20 reviews

  • 5★65.0%
  • 4★15.0%
  • 3★10.0%
  • 2★0.00%
  • 1★10.0%

About User Photo

From the official readme · v0.9.10

Beschreibung

Allows a user to associate a profile photo with their account through their “Your Profile” page. Admins may
add a user profile photo by accessing the “Edit User” page. Uploaded images are resized to fit the dimensions specified
on the options page; a thumbnail image correspondingly is also generated.
User photos may be displayed within a post or a comment to
help identify the author. New template tags introduced are:

  • userphoto_the_author_photo()
  • userphoto_the_author_thumbnail()
  • userphoto_comment_author_photo()
  • userphoto_comment_author_thumbnail()

Important: all of these “template tags” must appear inside of PHP script blocks (see examples below).
The first two should be placed in the posts loop near the_author(), and the second two in the comments
loop near comment_author() (or their respective equivalents). Furthermore, userphoto_the_author_photo()
and userphoto_the_author_thumbnail() may be called anywhere (i.e. sidebar) if $authordata is set.

The output of these template tags may be modified by passing four parameters: $before, $after, $attributes, and $default_src,
as in: userphoto_the_author_photo($before, $after, $attributes, $default_src).
If the user photo exists (or $default_src is supplied), then the text provided in the $before and $after parameters is respectively
prefixed and suffixed to the generated img tag (a common pattern in WordPress). If attributes are provided in the $attributes
parameter, then they are returned as attributes of the generated img element. For example: userphoto_the_author_photo('', '', array(style => 'border:0'))
Just added in 0.8.1 release are these two new template tags:

  • userphoto($user, $before = '', $after = '', $attributes = array(), $default_src = '')
  • userphoto_thumbnail($user, $before = '', $after = '', $attributes = array(), $default_src = '')

By using these, it is uneccessary to set the global $authordata to display a photo. Just pass $authordata, $curauth or
whatever variable you have which contains the user object, or (as of version 0.9), pass in a user ID or a user login name.

Here’s an example that shows a few ways of inserting a user’s photo into the post loop:
//this will display the user’s avatar if they don’t have a user photo,

<?php while (have_posts()) : the_post(); ?>
    <div class="post" id="post-<?php the_ID(); ?>">
        <h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2>
        <div class="meta">
            <?php the_time('F jS, Y') ?>
            by <?php the_author() ?>

            <!-- displays the user's photo and then thumbnail -->
            <?php userphoto_the_author_photo() ?>
            <?php userphoto_the_author_thumbnail() ?>

            <!-- the following two do the same since $authordata populated -->
            <?php userphoto($authordata) ?>
            <?php userphoto_thumbnail($authordata) ?>

            <!-- and this is how to customize the output -->
            <?php userphoto_the_author_photo(
                '<b>Photo of me: ',
                '</b>',
                array('class' => 'photo'),
                get_template_directory_uri() . '/nophoto.jpg'
            ) ?>
        </div>
        <?php the_content('Read the rest of this entry &raquo;'); ?>
    </div>
<?php endwhile; ?>

If you want to display the user’s photo in the sidebar, just get the user ID or object and pass it into userphoto() or userphoto_thumbnail() like this:

<?php userphoto($posts[0]->post_author); ?>

If you want to display a user’s photo their author page, you may do this:

<?php userphoto($wp_query->get_queried_object()) ?>

In version 0.9 the boolean function userphoto_exists($user) has been introduced which returns true if the user has a photo and false if they do not.
Argument $user may be user object, ID, or login name. This function can be used along with avatars:

<?php
if(userphoto_exists($user))
    userphoto($user);
else
    echo get_avatar($user->ID, 96);
?>

Or if the new “Serve Avatar as Fallback” option is turned on, then the avatar will be served by any of the regular calls to display the user photo:

<?php
//this will display the user's avatar if they don't have a user photo,
//  and if "Serve Avatar as Fallback" is turned on
userphoto($user);
?>

Additionally, all of the regular function calls to display the user photo may be done away with alltogether if the new “Override Avatar with User Photo”
option is enabled:

<?php
//both will display the user photo if it exists
//  and if "Override Avatar with User Photo" is turned on
echo get_avatar($user_id);
echo get_avatar($user->user_email);
?>

Both options “Serve Avatar as Fallback” and “Override Avatar with User Photo” require that the ‘Avatar Display’ setting under Discussion be set to “Show”.

Uploaded images may be moderated by administrators via the “Edit User” page.

Localizations included for Spanish, German, Dutch, Polish, Russian, French, Hungarian, Brazilian Portuguese, Italian, and Catalan.

If you value this plugin, please donate to ensure that it may continue to be maintained and improved.

Änderungsprotokoll

0.9.10

  • Added recommendation to upgrade in wp-admin/plugins.php
  • Provided option to never see the upgrade notice again

0.9.9

  • Removed deprecated mysql_ function

0.9.8

  • Optimised retrieval of administrators for settings page

0.9.7

  • Fixed WordPress deprecated notices

0.9.6

  • Fixed PHP notice about deprecated argument
  • Use semantic versioning for plugin files

2012-05-08: 0.9.5.2

  • Security issue (credit Ryan Hellyer).

Vollständiges Änderungsprotokoll auf WordPress.org →

Screenshots

Admin section in User Profile page
Admin section in User Profile page

Für Entwickler

Ist das dein Plugin? Zeigen Sie die Zahlen.

Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.

Aktiv installiert Badge Bewertungsabzeichen Gesundheits-Score-Abzeichen

Best User Photo alternatives

All images plugins →
Alternativen
Rang Plugin Aktive Installationen Wertung Aktualisierten Gesundheit
1 Autooptimieren Autooptimieren AutoOptimize beschleunigt Ihre Website durch Optimierung von JS, CSS, Bildern (inkl. Lazy-Load), HTML… Durch die Optimierung von Angelegenheiten 800K+ ★★★★★★★★★★ 4.7 (1.4K) Vor 1 Monat 89
2 WebP Express WebP Express Serve autogenerated WebP images instead of jpeg/png to browsers that supports WebP. by rosell.dk 300K+ ★★★★★★★★★★ 4.4 (163) Vor 1 Monat 63
3 Responsive Lightbox & Galerie Responsive Lightbox & Galerie Das beliebteste Lightbox-Plugin und Responsive Gallery Builder für WordPress. von dFactory 100K+ ★★★★★★★★★★ 4.9 (2K) Vor 5 Tagen 81
4 Modern Image Formats Modern Image Formats Converts images to more modern formats such as WebP or AVIF during upload. von WordPress Leistungsteam 100K+ ★★★★★★★★★★ 3.6 (27) Vor 3 Monaten 64
5 Lightbox & Modal Popup WordPress Plugin – Foobox Lightbox & Modal Popup WordPress Plugin – Foobox Responsive Image Lightbox für WordPress Galerien, WordPress Anhänge & Foogallery von fooplugins 100K+ ★★★★★★★★★★ 4 (96) Vor 3 Wochen 76
6 Media Cleaner: Delete Unused Images & Clean Your Media Library Media Cleaner: Delete Unused Images & Clean Your Media Libr… Find and delete unused images and media files, fix broken entries, with a trash to undo… von Jordy Miau 90K+ ★★★★★★★★★★ 4.6 (781) Vor 1 Woche 94
7 Media Library Assistant Media Library Assistant Enhances the Media Library; powerful gallery and list shortcodes, full taxonomy support… by David Lingren 70K+ ★★★★★★★★★★ 4.8 (202) vor 7 Tagen 92
8 Simple Image Sizes Simple Image Sizes This plugin lets you create custom image sizes for your site. Override your theme sizes… by Nicolas Juen 60K+ ★★★★★★★★★★ 4.6 (91) Vor 4 Monaten 68
9 Image Placeholders Image Placeholders Displays placeholders based on an image's dominant color while the image is loading. von WordPress Leistungsteam 60K+ ★★★★★★★★★★ 3.5 (2) Vor 3 Monaten 67
10 Enhanced Responsive Images Enhanced Responsive Images Improvements for responsive images in WordPress. von WordPress Leistungsteam 40K+ ★★★★★★★★★★ Keine Bewertungen Vor 3 Monaten 64

Fragen und Antworten

User Photo: quick answers

Gerade Antworten, gezogen von Live WordPress.org Daten.

Quelle: WordPress.org

Is User Photo free?

Yes. User Photo is free to download and use from the official WordPress.org plugin directory.

Is User Photo safe to use in 2026?

User Photo works, but test it on a staging site before relying on it in 2026. It runs on 3K+ sites, is rated 4.3/5 and was last updated 9 years ago, and scores 42/100 on our health check.

How many websites use User Photo?

User Photo is active on 3K+ WordPress websites and has been downloaded 491,146 times since it launched in December 2007. It was downloaded 937 times in the last 30 days.

Does User Photo work with WordPress 7.1?

User Photo is officially tested up to WordPress 4.6.30, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

When was User Photo last updated?

The latest version, 0.9.10, was released on November 28, 2017 (9 years ago).

Who makes User Photo?

User Photo is developed and maintained by Weston Ruter.

What are the best alternatives to User Photo?

The most popular alternatives to User Photo are Autoptimize (800K+ installs), WebP Express (300K+ installs) and Responsive Lightbox & Galle… (100K+ installs).

Angetrieben von PageForge

Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.

PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.

  • CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
  • seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
  • Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
  • Kostenlos auf WordPress.org, keine Kreditkarte

↑↓ bewegen↵ öffnen