Title: Profile Picture
Author: Arul Jayaraj
Published: <strong>21. september, 2015</strong>
Last modified: 3. juni, 2016

---

Søk i utvidelser

Denne utvidelsen **har ikke blitt testet mot noen av de siste 3 hovedutgivelsene
av WordPress**. Den er kanskje ikke lenger holdt vedlike eller støttet, og den kan
ha kompatibilitetsproblemer med nyeste versjoner av WordPress.

![](https://s.w.org/plugins/geopattern-icon/profile-picture.svg)

# Profile Picture

 Av [Arul Jayaraj](https://profiles.wordpress.org/aruljayarajs/)

[Last ned](https://downloads.wordpress.org/plugin/profile-picture.1.0.zip)

 * [Detaljer](https://nb.wordpress.org/plugins/profile-picture/#description)
 * [Omtaler](https://nb.wordpress.org/plugins/profile-picture/#reviews)
 *  [Installering](https://nb.wordpress.org/plugins/profile-picture/#installation)
 * [Utvikling](https://nb.wordpress.org/plugins/profile-picture/#developers)

 [Brukerstøtte](https://wordpress.org/support/plugin/profile-picture/)

## Beskrivelse

Users can set his profile picture from admin end and as well as Front End.

Admin End it would come automatically based on the user role, who has `upload_files`
capability, otherwise we need to assign capability to them.

In Front End when we use `<?php do_action('edit_user_profile',$current_user); ?>`
on edit profile section, it would be placed on additonal user profile fields.

*Future Updates: Display current user images alone, short code and migrate withsocial
media profile pictures.

## Skjermbilder

 * [[
 * Add profile image field in admin end.
 * [[
 * After uploading and saving your selected image.
 * [[
 * Show the same profile image feature in front end.

## Installasjon

 1. Upload `profile-picture` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Go to Profile in admin end / Go to profile edit in front end

Note: If you want to add this feature to default scbscribers and contributors, Enable
this action hook `<?php add_action('admin_init', array($this,'allow_uploads_permission'));?
>` from the `ProfilePicture` class.

## Ofte stilte spørsmål

  Profile Picture upload permissions about users?

Currently, who has the capability of upload_files they can upload profile pictures.

Editors and Admins can upload and edit files. Authors can only upload files. Subscribers
and Contributors cannot do either Need to enable `add_action('admin_init', array(
$this,'allow_uploads_permission') ) in our class file`.

  How to show the profile image in frontend?

We can show our customized profile picture in front end whereever you want with 
registered image sizes. You may use wordpress **get_avatar() function by default,
else user our customized one it serves by your wish.**.

**id_or_email** (integer|string|object) (required ) You may pass user id, email 
or user object here.

**width** (integer) (optional) Width of the image.

**height** (integer) (optional) Width of the image.

**alt** (string) (optional) alt title of image tag.

**Return Values** It would return profile picture details as array or false on failure.

## Vurderinger

![](https://secure.gravatar.com/avatar/896bc93497e3ba74db94a0fc11f95d3483b09f497c2cabbb1cd424a2c5ad5d3f?
s=60&d=retro&r=g)

### 󠀁[Good idea](https://wordpress.org/support/topic/good-idea-52/)󠁿

 [Christopher](https://profiles.wordpress.org/mythic-software/) 3. september, 2016
1 svar

…but it didn’t actually work on my website.

![](https://secure.gravatar.com/avatar/f9eed469b856996fbd65e85b61bb7a9297296223889a09d8246ecc03ae7246fd?
s=60&d=retro&r=g)

### 󠀁[Cool plugin, Easy to use. Keep it up.](https://wordpress.org/support/topic/cool-plugin-easy-to-use-keep-it-up/)󠁿

 [Vijay](https://profiles.wordpress.org/vijaynaidu/) 3. september, 2016

Hey! It is easy to use, nice guide for installation and usage. Keep it up.

![](https://secure.gravatar.com/avatar/66ceb7d8ef5085b26be366fa8aa0298c1cb2c3da83f283cd529770983c00a433?
s=60&d=retro&r=g)

### 󠀁[A good thought that needs a little more tweak](https://wordpress.org/support/topic/a-good-thought-that-needs-a-little-more-tweak/)󠁿

 [wpmohan](https://profiles.wordpress.org/wpmohan/) 3. september, 2016

A good idea to handle user images within a wordpress site without having to painfully
setup a Gravatar Profile. Expecting update to the current version with Image Priviliges
to view & select only user’s own uploads in Media library. Keep Updating, Keep Coding![
Signature moderated ]

 [ Les alle 4 vurderinger ](https://wordpress.org/support/plugin/profile-picture/reviews/)

## Bidragsytere og utviklere

«Profile Picture» er programvare med åpen kildekode. Følgende personer har bidratt
til denne utvidelsen:

Bidragsytere

 *   [ Arul Jayaraj ](https://profiles.wordpress.org/aruljayarajs/)

[Oversett «Profile Picture» til ditt språk.](https://translate.wordpress.org/projects/wp-plugins/profile-picture)

### Interessert i utvikling?

[Bla gjennom koden](https://plugins.trac.wordpress.org/browser/profile-picture/),
sjekk ut [SVN-repositoriet](https://plugins.svn.wordpress.org/profile-picture/),
eller abonner på [utviklingsloggen](https://plugins.trac.wordpress.org/log/profile-picture/)
med [RSS](https://plugins.trac.wordpress.org/log/profile-picture/?limit=100&mode=stop_on_copy&format=rss).

## Endringslogg

#### 1.0

Beta Release

## Meta

 *  Versjon **1.0**
 *  Sist oppdatert **10 år siden**
 *  Aktive installasjoner **80+**
 *  WordPress-versjon ** 3.0 eller nyere **
 *  Testet opp til **4.5.33**
 *  Språk
 * [English (US)](https://wordpress.org/plugins/profile-picture/)
 * Stikkord
 * [custom profile picture](https://nb.wordpress.org/plugins/tags/custom-profile-picture/)
   [profile photo](https://nb.wordpress.org/plugins/tags/profile-photo/)[profile picture](https://nb.wordpress.org/plugins/tags/profile-picture/)
   [user photo](https://nb.wordpress.org/plugins/tags/user-photo/)[user profile picture](https://nb.wordpress.org/plugins/tags/user-profile-picture/)
 *  [Avansert visning](https://nb.wordpress.org/plugins/profile-picture/advanced/)

## Vurderinger

 4.3 av 5 stjerner.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/profile-picture/reviews/?filter=5)
 *  [  2 4-star reviews     ](https://wordpress.org/support/plugin/profile-picture/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/profile-picture/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/profile-picture/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/profile-picture/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/profile-picture/reviews/#new-post)

[Se alle omtalene](https://wordpress.org/support/plugin/profile-picture/reviews/)

## Bidragsytere

 *   [ Arul Jayaraj ](https://profiles.wordpress.org/aruljayarajs/)

## Brukerstøtte

Har du noe å si? Trenger du hjelp?

 [Vis brukerstøtteforumet](https://wordpress.org/support/plugin/profile-picture/)