Method Community

 

API Image sizes

Last post 04-30-2018 4:43 PM by dknoben. 9 replies.
Page 1 of 1 (10 items)
Sort Posts: Previous Next
  • 04-04-2018 12:46 PM

    API Image sizes

    Has there been an update to the API so that it will return a thumbnail of an image instead of the original image?  I have an API call set up to grab the contact image base64 string, convert it, crop it to several sizes and save it.  The issue is that instead of returning the original image I save, the Select_XMLV2 only returns a thumbnail.  This leads to blurry images when I create big image sizes. In the past the original image sizes have been returned.  Can you let me know if changes have been made and if there is a way to grab the original image size?

  • 04-05-2018 8:35 AM In reply to

    Re: API Image sizes

    Hey,

    We are looking into this for you and will follow up here once we have more information for you.

    Michael Melo
    Product Manager
    Method Integration Inc.
    Website: http://www.method.me
    LinkedIn: http://www.linkedin.com/in/MichaelMelo
  • 04-05-2018 12:25 PM In reply to

    Re: API Image sizes

    I see that you're pulling the Base64string before converting it, cropping and and saving.


    Can I clarify that Is the issue you are facing that the original base64 string produces thumbnail sized image

    Hector Catre
    Sr. Product Manager
    Method Integration Inc.
    Website: http://www.method.me
    LinkedIn: https://www.linkedin.com/in/hcatre
  • 04-05-2018 12:39 PM In reply to

    Re: API Image sizes

    I have done a little more digging around this, and I don't think the issue is with the API call.  If I have an old image in the system, it still returns the original image.  I think the issue is that when I upload a new picture into the Method CRM for a user, the original image is no longer being saved, instead it is cropped and saved as a thumbnail, so that is what is returned via the api call. 

  • 04-10-2018 6:13 PM In reply to

    Re: API Image sizes

    Any update as to what image sizes are being saved in the method crm?  Do we have access to the original image size using the API anymore?

  • 04-16-2018 3:11 PM In reply to

    Re: API Image sizes

    Have you been able to figure out if it is still possible to get the original image size of pictures saved in Method yet? 

  • 04-16-2018 4:10 PM In reply to

    Re: API Image sizes

    Hi dknoben. I've check with my developers. I've verified that images uploaded to Method can be retrieved with the original parameters via API. In your retieval action, how are you saving the image?

    Hector Catre
    Sr. Product Manager
    Method Integration Inc.
    Website: http://www.method.me
    LinkedIn: https://www.linkedin.com/in/hcatre
  • 04-16-2018 4:33 PM In reply to

    Re: API Image sizes

    I am saving the image in Method CRM, not through the API. 

    The image I am saving is 500x322 pixels. I am using the SelectXMLV2 call to then reterive the dataHere is my request data:

    Table: "Contacts"
    strFields: "ProfileImage,RecordID"
    strWhereClause: "RecordId =1155"

    In the response I get a base64 string, which when I decode, gives me an image that is 75x48 pixeles.  That is the same size as the image I see in Method CRM after uploading the image, which made me think I was just getting the thumbnail image size that is used for display purposes. 

  • 04-24-2018 12:24 PM In reply to

    Re: API Image sizes

    I am still hoping you can help me figure out how to get the original contact image via the Method API.  As I explained in my previous response, I am only getting a thumbnail sized image in the response for any photo where I have done a recent upload.  I want to clarify that for old pictures uploaded a while ago, I still get the original image, it is only for new uploads that I have done in the last month or so where all that is returned is a thumbnail sized image.  

    I appreciate any help you could provide. 

  • 04-30-2018 4:43 PM In reply to

    Re: API Image sizes

    Hi, I wanted to follow up again with another wrinkle that might explain why you have not seen the same error as me.  The issue is only on two of my three method accounts.  I was wondering if there are different versions of method, and the newest version may not have this error, while older versions of Method CRM do.  The account with the error is danielstestaccount.  Please let me know if there is any way to see what version of Method CRM a specific account is using, and if you can figure out a fix for the older versions of Method so I get the same behavior between all three of my method accounts.

Page 1 of 1 (10 items)