How to get Employee Picture in Smartforms

Hi Experts
Please help me out in getting employee picture in Smartforms
I have used the following FMs
1. HR_IMAGE_EXISTS
2. SCMS_DOC_URL_READ
By using these two FM i got the URL and i am able to get the picture in my Report Program,by using FM 'ISM_URL_SHOW'.
But Please tell how to get this picture in Smartform .
As i am generating Employee Biodata and in that i need employee Picture.
Please HELP me ....
Thanks & Regards
Shaveta Prabhakar

Hi,
     U need pictures in smartforms for that just try this one I think so it will help full to u.
      First Upload that picture in the se78 that photo must be in the bitmapformat(picture.bmp).
steps are:
         goto se78>graphics->import--->it asks the file path here,fill those details
Then goto Smartform--->In which page u want to put the picture,
          there click that page  and goto Background picture,
         here give the name of that picture and select the resolution and positin of the picture there. 
           Then u will get the picture in the output.
Regards,
Surya

Similar Messages

  • How to fetch Employee Picture in Smartforms

    Hi Experts
    Please help me out in getting employee picture in Smartforms
    I have used the following FMs
    1. HR_IMAGE_EXISTS
    2. SCMS_DOC_URL_READ
    By using these two FM i got the URL and i am able to get the picture in my Report Program,by using FM 'ISM_URL_SHOW'.
    But Please tell how to get this picture in Smartform .
    As i am generating Employee Biodata and in that i need employee Picture.
    Please HELP me ....
    Thanks & Regards
    Shaveta Prabhakar

    Hi Shaveta,
    The question has been raised earlier as well on SDN.
    Please search for 'Smartforms dynamic picture' on sdn and you will get a good number of solutions.
    The one answer which i found to be promising one is the one which mentioned somethig like:
    <b>Create a graphic node in the Smartform and under the tab 'General Attributes' fill the Name, Object and Id with variables (e.g. &NAME&, &OBJECT& and &ID&) and fill these parameters to get the picture you want at runtime.</b>
    See if this helps.
    check this link too
    smartforms dynamic logo
    and revert for more clarifications if any.
    <b>Always reward points to useful suggestions.</b>
    regards,
    Vikas

  • How to get 2nd line in smartforms using template

    how to get 2nd line in smartforms main window using template. i have also defined loop .

    if possible can you try with the TABLES..
    Put one TABLE in your MAIN window
    create table lines as per your requirment...consider all lines like 6 for header, 1 for main, 1 for total
    Now, you will find three section under the tables: header, main, footer...
    in header section, create a table line, assign one of the proper lines from the line types.. repeat for your all lines.
    in main section, you can access your data form the loop.
    the footer secion will be called, just after the main will be finished.
    Regards,
    Naimesh Patel

  • HT4236 How can get the pictures from my iPod to my iPad without a computer?

    How can get the pictures from my iPod to my ipad without a computer?

    Then there is absolutely no way to get the pictures from the iPod to the iPad unless you import them to your computer and then import them inor iTunes and sync them to the iPad.
    Where did the pictures come from? Which iPod version do you have?

  • How to get standard program ,script,smartforms all from sap

    hi friends
    how to get standard program ,script,smartforms all from sap.
    thanks&regards
    Babasish

    Hi,
    reports:
    goto se38
    all programs not starting with y or z will be sap std programs only
    same for se71 scripts
    samse for smartforms
    but the use of those will be known when you see the documentation
    for each programme
    for std programs there will be documentation available so that you can understand
    why they have developed that object
    thanks & regards,
    Venkatesh

  • Put employee picture in Smartform

    Hi,
    I have a problem... I have to put in a smartform The employee picture ( like PA20 or PA30 )
    I checked the following functions :
    HR_ESS_WHO_PROG_GET_PICT_URI
    HR_ESS_WHO_PROG_GET_PICTURE
    But Those aren`t the solution ...
    Somebody has an idea to solve my problem

    Hi,
    For putting the Picture in the smartform you must have employee's picture in the system.
    Then fetch that picture from the table based on the employee number and call this picture in the smartform dynimcally as per the employee records.
    First to findout in which table the pictures are getting saved and whats the logic for retreiveing those pictures.
    With Regards,
    Sumodh.P

  • How to get contact pictures off iPhone

    I saved a picture with most of my contacts on my iPhone. Now I'd like to get those pictures off of the iPhone and onto a computer. Can someone help?
    So you know, I took the contact pictures from directly within the contact editor. I've tried sync'ing to my computer, but I only get thumbnails on my computer when I want the whole picture (I'm going to transfer the pictures to another iPhone).
    Thanks for any help or suggestions.

    I have no clue, but don't think resolution is all that crucial.
    Even a low-res picture can help preserve an important memory. Or something that makes a good phone contact picture may likely also make a good avatar for flickr, twitter, etc, and it would not need to be full resolution for such purposes.
    Nothing taken with the iPhone is all that high-res anyhow. IIRC, pix assigned on the phone show up full-screen, so it's probably not as low-res as the teeny photo assigned on the desktop and transferred via sync.
    Incidentally, google turned up this method of retrieval, using the Mac:
    If you click "edit" on the contact's entry in Address Book and then double click inside their picture, it will appear as a somewhat bigger version, which you can copy with command-C. But it's a far cry from full-resolution.
    http://forums.macnn.com/103/ipod-iphone-and-apple-tv/341591/iphone-contact-photo s-how-to-extract/
    I can't test it, though, as I don't sync contacts, and really have no clue whether the iPhone sync contact pictures to Outlook on Windows, which I assume the OP uses.

  • How to upload employees picture thru API

    Hi All,
    Can anybody say me how to upload the employees pictures thru PER_IMAGE_UPLOAD_PKG.LOAD(). Here i am having 2500 employees photos.
    and if it is step wise manner it will be more helpful and where we have to place the pictures in server , in which location

    Okay. This is pretty old code, and I don't quite remember how it works entirely, but here it is. I created a Formbuilder form with some custom java beans to read the directory where the badge photos resided, and create a SQL*Loader control file for each .jpg file. Here is the main code, from the client_pkg package and the OK button when-button-pressed trigger:
    PACKAGE client_pkg IS
    staging_dir varchar2(200) := 'c:\userapps\empphotos';
    photo_dir varchar2(200) := '\\Netser1\server dir\APPD\Human Resources Badging System\Photos';
    template varchar2(2000) := 'options (bindsize 400000)' || chr(10)
         ||'load data' || chr(10)
         ||'infile ''$INFILE$'' "fix $FILESIZE$"' || chr(10)
         ||'$OPERATION$' || chr(10)
         ||'into table per_images' || chr(10)
         ||'(image raw ($FILESIZE$), -- filesize' || chr(10)
         ||'parent_id constant $PERSON_ID$,' || chr(10)
         ||'table_name constant "PER_PEOPLE_F",' || chr(10)
         ||'image_id char "hr.per_images_s.nextval")' || chr(10)
    missing_template varchar2(2000) := 'options (bindsize 400000)' || chr(10)
         ||'LOAD DATA' || chr(10)
         ||'INFILE ''$INFILE$'' "fix $FILESIZE$"' || chr(10)
         ||'$OPERATION$' || chr(10)
         ||'INTO TABLE lac.lac_photo_dir' || chr(10)
         ||'     (IMAGE raw($FILESIZE$) -- filesize' || chr(10)
         ||' , FILENAME constant "$FILENAME$"' || chr(10)
         ||'     , FILESIZE constant $FILESIZE$' || chr(10)
         ||'     , FILEDATE constant "$FILEDATE$"' || chr(10)
         ||'     )' || chr(10)
    END client_pkg;
    --OK Button - When-Button-Pressed
    declare
         alert_msg varchar2(2000);
         button_pressed number;
         in_file Text_IO.File_Type;
         out_file Text_IO.File_Type;
         log_file Text_IO.File_Type;
         v_buffer varchar2(200);
         v_ctl_txt varchar2(2000);
         v_dir_find_string varchar2(20) := 'Directory of ';
         v_dirstring varchar2(200);
         v_pos integer;
         v_slash varchar2(2) := '\';
         v_filesize varchar2(20);
         v_filename varchar2(20);
         v_ctl_filename varchar2(120);
         v_log_filename varchar2(120);
         v_operation varchar2(20);
         v_emp_num varchar2(20);
         v_emp_name varchar2(80);
         v_payroll_id number;
         v_person_id number;
         v_load_count integer;
         v_qry_count integer;
         v_instance varchar2(20);
         v_username varchar2(20);
         v_password varchar2(20);
         v_connect_string varchar2(100);
         v_exec_string varchar2(200);
         v_success_count integer;
         v_beg_pos integer;
         v_end_pos integer;
         cursor c_badges(p_payroll_id in number) is
              select xref.emp_num
              , ppf.employee_number || ' - ' || ppf.full_name emp_name
              , xref.filename
              , ppf.person_id
    , decode(pi.image_id, null, 'N', 'Y') image_exists_yn
    from hr.per_all_people_f ppf
              , hr.per_all_assignments_f paf
              , lac.lac_emp_badge_xref xref
    , hr.per_images pi
              where paf.person_id=ppf.person_id
              and xref.emp_num = ppf.employee_number
              and sysdate between ppf.effective_start_date and ppf.effective_end_date
              and sysdate between paf.effective_start_date and paf.effective_end_date
              and paf.assignment_type<>'B'
    --          and paf.payroll_id = p_payroll_id
              and lower(filename) like '%.jpg'
    --          and ppf.employee_number in ('00012','08278') -- Temp debugging line
    and pi.parent_id(+) = paf.person_id
              order by emp_num
         cursor c_photo_dir is
         select xr.emp_num
         , pd.filename
         , pd.filesize
         , pd.filedate
         from lac.lac_emp_badge_xref xr
         , lac.lac_photo_dir pd
         where xr.filename(+) = pd.filename
         and xr.emp_num is null
         and lower(pd.filename) like '%.jpg'
         order by pd.filename
    begin
    break;
    :System.Message_Level := '5';
         v_instance := get_application_property(CONNECT_STRING);
         v_username := get_application_property(USERNAME);
         v_password := get_application_property(PASSWORD);
         v_connect_string := v_username || '/' || v_password || '@' || v_instance;
    if :replace_cb = 'Y' then
              v_operation := 'Replace';
    else
         v_operation := 'Append';
    end if;
         v_load_count := 0;
    set_custom_property('FILEIO_BEAN',1,'SOURCEDIR',:photo_file_dir);
         set_custom_property('EXEC_BEAN',1,'CMDSTRING','echo TEST');
    for v_badges in c_badges(to_number(:payroll_list))
    loop
              :work_file := v_badges.filename;
    set_custom_property('FILEIO_BEAN',1,'SOURCEFNAME',:work_file);
    v_filesize := get_custom_property('FILEIO_BEAN',1,'FILELENGTH');
    --          alert_msg := 'File Size for ' || :work_file || ' = ' || v_filesize || chr(10);
    --          SET_ALERT_PROPERTY('GENERIC_ALERT',ALERT_MESSAGE_TEXT, alert_msg);
    --          button_pressed := Show_Alert('GENERIC_ALERT');
              if v_badges.image_exists_yn = 'Y' then
                   delete from hr.per_images
                   where parent_id = to_number(v_badges.person_id);
                   commit;
              end if;
              v_ctl_txt := client_pkg.template;
              v_ctl_txt := replace(v_ctl_txt, '$OPERATION$', v_operation);
              v_ctl_txt := replace(v_ctl_txt, '$INFILE$', :photo_file_dir || v_slash || v_badges.filename);
              v_ctl_txt := replace(v_ctl_txt, '$FILESIZE$', v_filesize);
              v_ctl_txt := replace(v_ctl_txt, '$PERSON_ID$', v_badges.person_id);
              v_ctl_filename := 'sqlldr' || v_badges.emp_num || '.ctl';
              v_ctl_filename := :staging_dir || v_slash || v_ctl_filename;
              v_log_filename := replace(v_ctl_filename,'.ctl','.log');
              out_file := Text_IO.Fopen(v_ctl_filename, 'w');
              text_io.put_line(out_file, v_ctl_txt);
              text_io.fclose(out_file);
              v_exec_string := 'sqlldr ' || v_connect_string || ' control=' || v_ctl_filename
              || ' log=' || v_log_filename;
    --          alert_msg := 'before, v_exec_string= ' || v_exec_string || chr(10);
    --          SET_ALERT_PROPERTY('GENERIC_ALERT',ALERT_MESSAGE_TEXT, alert_msg);
    --          button_pressed := Show_Alert('GENERIC_ALERT');
              :emp_name := v_emp_name;
              synchronize;
              set_custom_property('EXEC_BEAN',1,'CMDSTRING',v_exec_string);
    --          alert_msg := 'after, v_exec_string= ' || v_exec_string || chr(10);
    --          SET_ALERT_PROPERTY('GENERIC_ALERT',ALERT_MESSAGE_TEXT, alert_msg);
    --          button_pressed := Show_Alert('GENERIC_ALERT');
              v_operation := 'Append';
              v_load_count := v_load_count + 1;
              exit when v_load_count >= nvl(:proc_limit,99999);
    end loop;
         set_custom_property('EXEC_BEAN',1,'CMDSTRING','echo TEST');
    if false then     
    v_operation := 'Append';
         for v_photo_dir in c_photo_dir
         loop
              v_pos := instr(v_photo_dir.filename,'.jpg');
              v_end_pos := v_pos - 1;
              v_pos := instr(v_photo_dir.filename,'-',-1,1);
              if v_pos > 0 then
                   v_beg_pos := v_pos + 1;
              else
                   v_beg_pos := 1;
              end if;
              v_emp_num := lpad(substr(v_photo_dir.filename,v_beg_pos, v_end_pos + 1 - v_beg_pos),5,'0');
              v_payroll_id := to_number(:payroll_list);
              begin          
                   select ppf.employee_number || ' - ' || ppf.full_name
                        , ppf.person_id
                        into v_emp_name
                        , v_person_id
              from hr.per_all_people_f ppf
                        , hr.per_all_assignments_f paf
              , hr.per_images pi
                        where paf.person_id=ppf.person_id
                        and sysdate between ppf.effective_start_date and ppf.effective_end_date
                        and sysdate between paf.effective_start_date and paf.effective_end_date
                        and paf.assignment_type<>'B'
              and pi.parent_id(+) = paf.person_id
              and decode(pi.image_id, null, 'N', 'Y')='N'
              and ppf.employee_number = v_emp_num
    --          and paf.payroll_id = v_payroll_id
              exception
                   when no_data_found then
                   v_emp_name := null;
                   v_person_id := null;
                   when others then
                        alert_msg := 'Error looking up Employee: ' || v_emp_num || chr(10) || sqlerrm;
                        SET_ALERT_PROPERTY('GENERIC_ALERT',ALERT_MESSAGE_TEXT, alert_msg);
                        button_pressed := Show_Alert('GENERIC_ALERT');
                   raise form_trigger_failure;
         end;
              if v_person_id is not null then
                   :work_file := v_photo_dir.filename;
                   v_ctl_txt := client_pkg.template;
                   v_ctl_txt := replace(v_ctl_txt, '$OPERATION$', v_operation);
                   v_ctl_txt := replace(v_ctl_txt, '$INFILE$', :photo_file_dir || v_slash || v_photo_dir.filename);
                   v_ctl_txt := replace(v_ctl_txt, '$FILESIZE$', v_photo_dir.filesize);
                   v_ctl_txt := replace(v_ctl_txt, '$PERSON_ID$', v_person_id);
                   v_ctl_filename := 'sqlldr' || v_emp_num || '.ctl';
                   v_ctl_filename := :staging_dir || v_slash || v_ctl_filename;
                   v_log_filename := replace(v_ctl_filename,'.ctl','.log');
                   out_file := Text_IO.Fopen(v_ctl_filename, 'w');
                   text_io.put_line(out_file, v_ctl_txt);
                   text_io.fclose(out_file);
                   v_exec_string := 'sqlldr ' || v_connect_string || ' control=' || v_ctl_filename
                   || ' log=' || v_log_filename;
         --          alert_msg := 'before, v_exec_string= ' || v_exec_string || chr(10);
         --          SET_ALERT_PROPERTY('GENERIC_ALERT',ALERT_MESSAGE_TEXT, alert_msg);
         --          button_pressed := Show_Alert('GENERIC_ALERT');
                   :emp_name := v_emp_name;
                   synchronize;
                   set_custom_property('EXEC_BEAN',1,'CMDSTRING',v_exec_string);
         --          alert_msg := 'after, v_exec_string= ' || v_exec_string || chr(10);
         --          SET_ALERT_PROPERTY('GENERIC_ALERT',ALERT_MESSAGE_TEXT, alert_msg);
         --          button_pressed := Show_Alert('GENERIC_ALERT');
                   v_operation := 'Append';
                   v_load_count := v_load_count + 1;
         --          exit when v_load_count >= nvl(:proc_limit,99999);
              end if;
         end loop;     
         set_custom_property('EXEC_BEAN',1,'CMDSTRING','echo TEST');
    return;
    end if;
    exit_form;
    exception
         when no_data_found then
              Text_IO.Fclose (in_file);
         exit_form;
    when others then
    text_io.fclose(in_file);
    text_io.fclose(out_file);
              alert_msg := 'Error outside loop: ' || chr(10) || sqlerrm;
              SET_ALERT_PROPERTY('GENERIC_ALERT',ALERT_MESSAGE_TEXT, alert_msg);
              button_pressed := Show_Alert('GENERIC_ALERT');
              raise form_trigger_failure;          
    end;
    Hope that helps.............Dave

  • Iphoto library gone after software upgrade/update..Does anyone know how to get my pictures back?

    Hello, I have a Macbook Air and 3 days ago, I had a "crucial update" on my computer but accepted it before looking at what it was for. When my computer auto restarted, my iphoto library was completely gone. Does anyone know how this could have happened?
    I have the OS X 10.7.5 and iphoto 9.2.3... The update that I did may have been the Os X 10.7.5 but I did not look at what the update was being quickly clicking the accept button.
    Unfortunately, I do not think that my pictures were backed up on the "time machine application". Any help would be great for how I can get my pictures back.
    Thank you!

    You should have been syncing all of this to your computer regularly.
    Just sync it back.

  • How to get a picture of iPhone Gallery with Flex 4.5?

    Hi,
    I would like know how can to get a picture of iPhone Galery and insert in a Component Image on Flex 4.5.
    Thanks

    <?xml version="1.0" encoding="utf-8"?>
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
    xmlns:s="library://ns.adobe.com/flex/spark" title="HomeView"
    initialize="init()">
    <fx:Script>
    <![CDATA[
    import flash.display.Loader;
    import flash.events.IOErrorEvent;
    import flash.events.MediaEvent;
    private var mediaCamera:CameraRoll;
    private var imageLoader:Loader;
    protected function openGalery(event:MouseEvent):void{
    if (mediaCamera != null){
    mediaCamera.browseForImage();
    protected function init():void{
    if (CameraRoll.supportsBrowseForImage){
    mediaCamera = new CameraRoll();
    mediaCamera.addEventListener( MediaEvent.SELECT, imageSelected );
    mediaCamera.addEventListener( Event.CANCEL, browseCanceled );
    mediaCamera.addEventListener( ErrorEvent.ERROR, browseErro );
    public function browseErro( event:ErrorEvent ):void
    lblMsg.text = lblMsg.text+" -  ERRO browse";
    public function browseCanceled( event:Event ):void
    lblMsg.text = lblMsg.text+" -  browse Cancel";
    public function imageSelected( event:MediaEvent ):void
    var imagePromise:MediaPromise = event.data as MediaPromise;
    imageLoader = new Loader();
    imageLoader.contentLoaderInfo.addEventListener( Event.COMPLETE, imageLoaded );
    imageLoader.contentLoaderInfo.addEventListener( IOErrorEvent.IO_ERROR, imageLoadFailed );
    imageLoader.loadFilePromise( imagePromise );
    public function imageLoaded( event:Event ):void
    var bitmapData:BitmapData = Bitmap(event.target.content).bitmapData;
    var bitmap:Bitmap = new Bitmap(bitmapData);
             imgPhoto.source = bitmap;
    public function imageLoadFailed( event:Event ):void
    lblMsg.text = lblMsg.text+" -  ERRO Load ";
    ]]>
    </fx:Script>
    <fx:Declarations>
    <!-- Place non-visual elements (e.g., services, value objects) here -->
    </fx:Declarations>
    <s:Button id="btnGalery" left="123" right="123" bottom="18" label="Galeria"
      click="openGalery(event)"/>
    <s:Image id="imgPhoto" left="13" right="7" top="6" bottom="107"/>
    <s:Label id="lblMsg" left="10" right="10" bottom="69" height="30"/>
    </s:View>

  • Im trying to make a poster size collage of pictures and also want to put a story in the middle of the poster. I just can't understand how to get multiple pictures and how to arrange them around the poster?

    Im trying to make a postersize picture collage and I don't know how to get multiple pictues arranged. Someone said I can use the layer option. But Im just not getting it. Please help!

    Click File >> Open and select all of your photos
    That will add them to the project bin
    Then select File >> New >> Blank File
    Select background color White (or whatever you prefer) and add your width and height for your final image (set resolution 72 for web usage or 240 to 300 for printing) then click OK
    In the project bin click your first photo and drag it up into the main window on top of your new background.
    Click on the move tool and click in the center of the photo and drag to arrange it where you want on the background - you can hold down the shift key to maintain original proportions whilst dragging the corner handles of the bounding box to get the size you want.
    Do the same with the next photo (drag it up into the main window) and use the move tool to position it. Then continue with each image.
    Finally Click Layer >>Flatten image and save as jpeg. (Save as PSD if you want to preserve the layers for editing again)
    N.B. as you add images they get dropped in the center. So you need to use the move tool to drag them apart. Click in the middle of one and move it around, and then the others until you get them positioned as you want.
    When you click again with the move tool a bounding box appears around the image and you can drag out the corner handles to re-size your photos. Hold down the shift key when dragging the corner handle and that will maintain the proportions of the original.
    Finally click Layer >>Flatten Image and save your collage - you may then want to use the crop tool to cut away any surplus white canvas, and then re-save. Click the T tool to add text.

  • How do get my pictures from my iPhone that doesn't work

    How can I get my pictures from my iPhone that doesn't work

    When you plug it into a computer, is there any reaction? Is it just the screen that's dead or the whole phone?
    If the whole thing is dead then there may not be anything you can do

  • How to get employee no(pernr) based on the organizational unit

    HI,
    I am using LDB PNP in my program nd have used my own report category with Organizational unit,begin date and end date in the selection screen.
    Now I have to get all the active employee of that organizational unit.so tell me how to get this
    Explain about GET and PROVIDE statement
    Regards,
    Kiruthi

    Hi !
    To get active employees reject separated employees ( action )
    i.g
    ******Data fetch*****
    start-of-selection.
    get pernr.
    if pernr-massn eq '14'.
    reject.
    else.
    it_active-sapid = pernr-pernr.
    endif.
    ORGEH : Organizational Unit
    ORGTX: Organization unit text
    ********Organization*************
    *data text type char30.
    SELECT SINGLE ORGEH  from pa0001 into IT_ACTIVE-ORGEH where PERNR = IT_ACTIVE-SAPID.
    SELECT SINGLE ORGTX from t527x into IT_ACTIVE-ORGTX where ORGEH = IT_ACTIVE-ORGEH and  SPRSL = 'EN' .
    if sy-subrc eq 0.
    write: 160 sy-vline, IT_ACTIVE-ORGTX.
    else.
    clear: IT_ACTIVE-ORGTX.
    write: 160 sy-vline, IT_ACTIVE-ORGTX.
    endif.
    **************Organizational ID ******************
    select single ORGEH from pa0001 into it_active-Org where pernr = it_active-sapid and begda le pn-endda and endda eq '99991231' .
    if sy-subrc eq 0.
    write: 180 sy-vline, it_active-org .
    else.
    clear: it_active-org .
    select single ORGEH from pa0001 into it_active-org where pernr = it_active-sapid and endda EQ '99991231' .
    write: 180 sy-vline, it_active-org.
    endif.
    Regards
    Sheetal

  • How to Get Print event in  Smartforms on preview model.

    Dear All,
            I have a issue for Get the Print button value in Smartforms.
            I can get the print button value on the popup window before show smartforms result.
            But I donu2019t know how to get if the report preview .Because on preview model,user also can click toolbar print button to print.
    Please give me some advice
    Thanks
    Sun

    done have okay
          IF SY-MSGV1 <> ''   OR SY-UCOMM = 'PRNT'.
        MESSAGE 'PRINTED' TYPE 'S'.
        ELSE.
          MESSAGE 'NOT PRINTED' TYPE 'S'.
        ENDIF.

  • How to get users picture field displayed via _api/Web/Lists - SharePoint Online

    I have created a field of type Person or Group with "show field  picture only".
    When I look at the result I get back from the _api/web URL what I see is this as the field name:
        <d:OData__x0061_wo9Id m:type="Edm.Int32">25</d:OData__x0061_wo9Id>  
    I need to get the right properties like username,accontname etc..out and I think need to build this url below: 
        /_layouts/15/userphoto.aspx?size=M&accountname=name%40domain.com.au&url=https%3A%2F%2Fdomain-my.sharepoint.com%3A443%2FUser%2520Photos%2FProfile%2520Pictures%2Fusername_domain_com_au_MThumb.jpg
    to be able to get each users picture.
    Thanks in advance

    Hi,
    To get the UserName or AccountName of a Person or Group column, you can take the URL below for a try:
    siteUrl + "/_api/web/lists/getbytitle('" + listName + "')/items(" + itemId + ")?$select=Title,OData__x0050_G1/Name,OData__x0050_G1/UserName,OData__x0050_G1/Title&$expand=OData__x0050_G1/Name,OData__x0050_G1/UserName,OData__x0050_G1/Title"
    If you want to get the Picture URL of an user, you can send another request to User Information list:
    siteUrl + "/_api/web/siteUserInfoList/Items"
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

Maybe you are looking for