Using PhotoExport to Export Thumbnails from Sims.net

03 January, 2017 · less than a minute to read

Using PhotoExport to Export Thumbnails from Sims.net

I have just added an option to export thumbnails from Sims.net 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

photoExportThumbnail
Richard Willis headshot

Written by Richard Willis

Managing Director / Founder

Richard started SalamanderSoft in 2007 after a successful career as a software developer. Wanting to start his own company and with experience in integrating school systems he set out to build the best integration system for schools and to exceed customer expectations. He starting out on his own, doing all the coding, support and sales until finally the growing number of customers meant he needed to start growing the team. He is still heavily involved in coding the core Integration Suite product in addition to running the company and being the first point of contact for prospective customers.

Copyright © 2020 SalamanderSoft Limited