Using PhotoExport to Export Thumbnails from

I have just added an option to export thumbnails from using our free PhotoExport tool.

The driver behind this was to load the photos into Active Directory for use in Outlook/Exchange 2010. For use in Outlook the photos need to go into the thumbnailPhoto attribute. The attribute’s maximum size is 100Kb, however the Exchange commandlet Import-RecipientDataProperty puts a 10Kb limit on it. In addition the recommended size for images in Outlook/Exchange is 96 x 96 pixels.

So when the thumbnail option is used for PhotoExport, it first checks to see if the image size if over 10Kb and if it is, it then resizes the image so the longest side is 96 pixels. How large the image file size actually is will depend on it’s format of course. With the images from the Sims test database a 96 x 96 bmp is about 22 Kb while the same size Jpeg is only about 3Kb. As the file format required by Outlook/Exchange is Jpeg, then that works out as a good size.

The switch to export thumbnails is /thumbnail, so to export thumbnail jpegs for staff the command would be

PhotoExport username password outputFolder /format:jpg /thumbnail /staff

Here’s a screen shot showing the difference in sizes



I am Managing Director of SalamanderSoft Limited a company devoted to improving IT in education. I am also the project co-ordinator for the open source projects SharePoint Learning Kit and Microsoft Learning Gateway.

6 thoughts on “Using PhotoExport to Export Thumbnails from

  1. Love this tool, is there a switch to narrow the export to a registration group?

  2. This is a great tool! I have one issue though, its not resizing the image.

    Here is the cmd I’m pushing:

    PhotoExport USER PASS “C:\PhotoExport\Staff” /format:jpg /staff /thumbnail /nameAsId

    Am I doing something wrong?

  3. It only resizes if the image is greater than 10240 bytes. Could that be the problem? That’s the maximum size for Exchange thumbnails.

Leave a Reply

Your email address will not be published. Required fields are marked *