• Skip to primary navigation
  • Skip to content
  • Skip to footer
Dovestones Software Logo

Dovestones Software

Active Directory Software and Services

  • Products
    • AD Toolset Bundle
    • AD Bulk Users
    • AD Bulk Contacts
    • AD Reporting
    • AD Bulk Export
    • AD Photos
    • AD Find and Replace
    • True Last Logon
    • Active Directory Self Service
    • AD Self Password Reset
    • AD Phonebook
    • AD Self Update
  • Solutions
    • Active Directory Self Service
    • Import users into Active Directory
    • Import Active Directory photos into SharePoint
    • Update users that already exist in Active Directory
    • Report on Active Directory Users
    • Allow users to reset their own passwords.
    • Allow employees to update their own details Active Directory
  • Testimonials
  • Downloads
  • Purchase
    • Pricing & Purchase Online
    • Resellers
    • Quote Request
    • Purchase Orders
  • Support
    • Frequently Asked Questions (FAQs)
    • Documentation
    • Support Request Form
    • Uninstall Products
    • Find my license key
    • Blog
    • Videos
  • About Us
    • Enquiry Form
    • End User License Agreement
    • Privacy Policy

Storing photos in Active Directory using the jpegPhoto Attribute

Dec 7, 2014 Active Directory, AD Bulk Users

The latest version of AD Bulk Users now has support for adding (and removing) photos to Active Directory using the jpegPhoto attribute, the jpegPhoto attribute was added to Windows 2003 AD and supports the JPEG format. There are a few things to consider when importing images such as the size and dimensions of the image, AD Bulk Users will check you are using a .jpg image and that the image size is smaller than 25KB and its dimensions are less than 200 x 200 pixels (it doesn’t need to be square, 180 x 100 would be fine).

An example CSV file would look like:

sAMAccountName,Modify,jpegPhoto
jsmith,TRUE,e:\photos\%username%.jpg
pjones,TRUE,e:\photos\%username%.jpg

To clear the photo simply leave no value in the jpegPhoto column, an example CSV file would look like:

sAMAccountName,Modify,jpegPhoto
jsmith,TRUE,
pjones,TRUE,

We’ve added jpegPhoto to the Organization tab in AD Bulk Users so when you load your CSV file you should see the path shown here.

[responsive]<a href=”http://dove3.wpengine.com/wp-content/uploads/2014/07/jpegphoto.png”><img class=”alignnone size-full wp-image-182″ src=”http://dove3.wpengine.com/wp-content/uploads/2014/07/jpegphoto.png” alt=”jpegphoto” width=”504″ height=”42″ /></a>[/responsive]

How do you view the images you may ask? Well you can use a web page a custom application or Sharepoint.

Footer

Dovestones Software

Copyright 2005 – 2023 © Infoopia Inc.
All rights reserved.

Registered office:

Infoopia Inc.
PO Box 93383
Newmarket Ontario
L3X 1A3
Canada

Phone (voice mail):
Toll-Free 1.877.335.8909
Outside of US/Canada +1.647.478.8078

Our Newsletter

Subscribe to our newsletter to receive the latest updates. You can review our privacy policy here.