Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > Active Directory > Picture in AD

Reply
Fix Vista Errors
Thread Tools Display Modes

Picture in AD

 
 
Eric Kosh
Guest
Posts: n/a

 
      11-20-2009



Hello,
I am interested in adding a photo in the AD, I think that I have success
with a Poweshell code.

I complete the following fields:
jpegPhoto,
thumbnailPhoto,
thumbnailLogo

But i don't find a lot of explication:
What are the difference between the fields?
What are the "best" size, height, length, ... for the picture and for
all fields


And the may bay "stupid" question are how i can test if my picture are
correctly upload? i try to view in ad property of the user, i don't see
the any changing (except the field are completed with octal number).
I try with the adresse book and a search into AD, i don't see the
picture of the user.


i'm in windows 2008 all the level for AD are 2008


thanks for your help
 
Reply With Quote
 
Meinolf Weber [MVP-DS]
Guest
Posts: n/a

 
      11-20-2009
Hello Eric,

For powershell better use one of this, even it is AD related:
http://social.technet.microsoft.com/...rshell/threads

http://social.technet.microsoft.com/...gement/threads

Best regards

Meinolf Weber
Disclaimer: This posting is provided "AS IS" with no warranties, and confers
no rights.
** Please do NOT email, only reply to Newsgroups
** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm


> Hello,
> I am interested in adding a photo in the AD, I think that I have
> success
> with a Poweshell code.
> I complete the following fields:
> jpegPhoto,
> thumbnailPhoto,
> thumbnailLogo
> But i don't find a lot of explication:
> What are the difference between the fields?
> What are the "best" size, height, length, ... for the picture and
> for
> all fields
> And the may bay "stupid" question are how i can test if my picture are
> correctly upload? i try to view in ad property of the user, i don't
> see
> the any changing (except the field are completed with octal number).
> I try with the adresse book and a search into AD, i don't see the
> picture of the user.
> i'm in windows 2008 all the level for AD are 2008
>
> thanks for your help
>



 
Reply With Quote
 
Eric Kosh
Guest
Posts: n/a

 
      11-20-2009

Thanks for the link
but i thing it's for ad question not for poweshell question
i thing that i have the correct code

my question are on the size, height, ... of the picture and how a can
test (of use) it.

Eric

Meinolf Weber [MVP-DS] a écrit :
> Hello Eric,
>
> For powershell better use one of this, even it is AD related:
> http://social.technet.microsoft.com/...rshell/threads
>
>
> http://social.technet.microsoft.com/...gement/threads
>
>
> Best regards
>
> Meinolf Weber
> Disclaimer: This posting is provided "AS IS" with no warranties, and
> confers no rights.
> ** Please do NOT email, only reply to Newsgroups
> ** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm
>
>> Hello,
>> I am interested in adding a photo in the AD, I think that I have
>> success
>> with a Poweshell code.
>> I complete the following fields:
>> jpegPhoto,
>> thumbnailPhoto,
>> thumbnailLogo
>> But i don't find a lot of explication:
>> What are the difference between the fields?
>> What are the "best" size, height, length, ... for the picture and
>> for
>> all fields
>> And the may bay "stupid" question are how i can test if my picture are
>> correctly upload? i try to view in ad property of the user, i don't
>> see
>> the any changing (except the field are completed with octal number).
>> I try with the adresse book and a search into AD, i don't see the
>> picture of the user.
>> i'm in windows 2008 all the level for AD are 2008
>>
>> thanks for your help
>>

>
>

 
Reply With Quote
 
Joe Kaplan
Guest
Posts: n/a

 
      11-20-2009
Check out the AD schema documentation to find the lengths of the fields.
Look at the "rangeUpper" value.

Remember that the photo is just stored as a stream of bytes, so the
dimensions of the picture don't really matter, only the overall size of the
binary data. I can't remember which of the attributes allow you to use which
max sizes, but you'll find out.

Whatever you end up finding, I highly recommend you consider restricting
these to something small/thumbnail size as you will need to store and
replicate all that data. Be kind to your AD admins.

--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
"Eric Kosh" <> wrote in message
news:...
> Thanks for the link
> but i thing it's for ad question not for poweshell question
> i thing that i have the correct code
>
> my question are on the size, height, ... of the picture and how a can test
> (of use) it.
>
> Eric
>
> Meinolf Weber [MVP-DS] a écrit :
>> Hello Eric,
>>
>> For powershell better use one of this, even it is AD related:
>> http://social.technet.microsoft.com/...rshell/threads
>> http://social.technet.microsoft.com/...gement/threads
>> Best regards
>>
>> Meinolf Weber
>> Disclaimer: This posting is provided "AS IS" with no warranties, and
>> confers no rights.
>> ** Please do NOT email, only reply to Newsgroups
>> ** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm
>>
>>> Hello,
>>> I am interested in adding a photo in the AD, I think that I have
>>> success
>>> with a Poweshell code.
>>> I complete the following fields:
>>> jpegPhoto,
>>> thumbnailPhoto,
>>> thumbnailLogo
>>> But i don't find a lot of explication:
>>> What are the difference between the fields?
>>> What are the "best" size, height, length, ... for the picture and
>>> for
>>> all fields
>>> And the may bay "stupid" question are how i can test if my picture are
>>> correctly upload? i try to view in ad property of the user, i don't
>>> see
>>> the any changing (except the field are completed with octal number).
>>> I try with the adresse book and a search into AD, i don't see the
>>> picture of the user.
>>> i'm in windows 2008 all the level for AD are 2008
>>>
>>> thanks for your help
>>>

>>

 
Reply With Quote
 
Paul Bergson [MVP-DS]
Guest
Posts: n/a

 
      11-20-2009
Be careful for what you wish for. If you have remotre sites with slow links
and you have to replicate a lot of photos you could sap your bandwidth. I
would really think hard befoer doing this. If this is a true need for the
management of your Directory Services or if this is something that is nice
(fun) to have.

--
Paul Bergson
MVP - Directory Services
MCTS, MCT, MCSE, MCSA, Security+, BS CSci
2008, 2003, 2000 (Early Achiever), NT4
Microsoft's Thrive IT Pro of the Month - June 2009

http://www.pbbergs.com

Please no e-mails, any questions should be posted in the NewsGroup This
posting is provided "AS IS" with no warranties, and confers no rights.

"Eric Kosh" <> wrote in message
news:...
> Hello,
> I am interested in adding a photo in the AD, I think that I have success
> with a Poweshell code.
>
> I complete the following fields:
> jpegPhoto,
> thumbnailPhoto,
> thumbnailLogo
>
> But i don't find a lot of explication:
> What are the difference between the fields?
> What are the "best" size, height, length, ... for the picture and for all
> fields
>
>
> And the may bay "stupid" question are how i can test if my picture are
> correctly upload? i try to view in ad property of the user, i don't see
> the any changing (except the field are completed with octal number).
> I try with the adresse book and a search into AD, i don't see the picture
> of the user.
>
>
> i'm in windows 2008 all the level for AD are 2008
>
>
> thanks for your help



 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting User Picture Bob Windows Vista Administration 3 03-19-2008 05:16 AM
picture question... Bob Nielsen Windows Vista Performance 4 11-03-2007 01:55 PM
Windows Vista picture folder display rubbish!! markyb2 Windows Vista File Management 3 10-02-2007 03:09 PM
User picture - does it map to AD ? Keith Lawrence MCP Windows Vista Administration 0 05-02-2007 06:30 PM
User Account Picture MasterYoda042 Windows Vista Administration 1 02-19-2007 05:46 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59