Go Back   TechArena Community > Technical Support > Computer Help > Windows Server > Active Directory
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags:

Sponsored Links



Picture in AD

Active Directory


Reply
 
Thread Tools Search this Thread
  #1  
Old 20-11-2009
Eric Kosh
 
Posts: n/a
Picture in AD

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
  #2  
Old 20-11-2009
Meinolf Weber [MVP-DS]
 
Posts: n/a
Re: Picture in AD

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
  #3  
Old 20-11-2009
Eric Kosh
 
Posts: n/a
Re: Picture in AD

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
  #4  
Old 20-11-2009
Joe Kaplan
 
Posts: n/a
Re: Picture in AD

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/...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
  #5  
Old 21-11-2009
Paul Bergson [MVP-DS]
 
Posts: n/a
Re: Picture in AD

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



Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows Server > Active Directory


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Picture in AD"
Thread Thread Starter Forum Replies Last Post
Picture size for Wallpaper picture in Sony Ericsson Xperia Play Bryant Portable Devices 4 07-10-2011 01:24 AM
Making MS Office Picture Manager My Default Picture Viewer / Editor RBoyle MS Office Support 2 09-01-2011 05:07 PM
How to Get Your Picture-in-Picture TV to Work FlashX Tips & Tweaks 1 30-04-2010 03:43 AM
SANYO Introduces True HD DLP projector with “Picture-by-Picture” Capability Abbas Portable Devices 2 11-03-2009 12:25 AM
how do i set microsoft picture viewer as my default picture viewe Bob I MS Office Support 0 27-04-2007 01:49 AM


All times are GMT +5.5. The time now is 07:48 PM.