Forum Search:
Forum.Brain-Cluster.com: Brain Cluster Technical Forum
Ultimate forum for Technical Discussions

Home » Microsoft » Windows Server » Active Directory » Picture in AD
Picture in AD [message #323078] Fri, 20 November 2009 02:20 Go to next message
Eric Kosh  is currently offline Eric Kosh  Belgium
Messages: 8
Registered: November 2009
Junior Member
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
Re: Picture in AD [message #323080 is a reply to message #323078] Fri, 20 November 2009 02:27 Go to previous messageGo to next message
meiweb  is currently offline meiweb  Germany
Messages: 2225
Registered: September 2009
Senior Member
Hello Eric,

For powershell better use one of this, even it is AD related:
http://social.technet.microsoft.com/Forums/en-US/winserverpo wershell/threads

http://social.technet.microsoft.com/Forums/en-US/windowsserv er2008r2management/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
>
Re: Picture in AD [message #323097 is a reply to message #323080] Fri, 20 November 2009 03:00 Go to previous messageGo to next message
Eric Kosh  is currently offline Eric Kosh  Belgium
Messages: 8
Registered: November 2009
Junior Member
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/Forums/en-US/winserverpo wershell/threads
>
>
> http://social.technet.microsoft.com/Forums/en-US/windowsserv er2008r2management/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
>>
>
>
Re: Picture in AD [message #323500 is a reply to message #323097] Fri, 20 November 2009 10:12 Go to previous messageGo to next message
Joe Kaplan  is currently offline Joe Kaplan  United States
Messages: 88
Registered: July 2009
Member
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" <eric_kosh@hotmail.com.del> wrote in message
news:etr1MhcaKHA.5608@TK2MSFTNGP05.phx.gbl...
> 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/Forums/en-US/winserverpo wershell/threads
>> http://social.technet.microsoft.com/Forums/en-US/windowsserv er2008r2management/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
>>>
>>
Re: Picture in AD [message #323611 is a reply to message #323078] Fri, 20 November 2009 12:51 Go to previous message
pbbergs  is currently offline pbbergs  United States
Messages: 1024
Registered: July 2009
Senior Member
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" <eric_kosh@hotmail.com.del> wrote in message
news:e9bnqKcaKHA.428@TK2MSFTNGP06.phx.gbl...
> 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
Previous Topic:AD and (extra) NIC
Next Topic:w2k8r2 as member server in w2k3 domain
Goto Forum:
  


Current Time: Tue Jan 16 04:18:27 MST 2018

Total time taken to generate the page: 0.03840 seconds
.:: Contact :: Home ::Sitemap::.

Powered by: FUDforum 3.0.0RC2.
Copyright ©2001-2009 FUDforum Bulletin Board Software