Forum Discussion

inserv's avatar
inserv
Regular Visitor
7 years ago

Question regarding support image from local machine

Hi All.
We have a custom visual and have a request to support uploading images from local machine.

Current visaul accepts URL for the images.
Is it possible to cache an image in a report?

 

We would like to provide an option to specify image path from local machine.
In our custom visual update function, cache the image in the custom visual and/or report,
so that the image can be displayed in report deployed to Power BI service.

 

Any help is much appreciated.
Thanks in advance.

2 Replies

  • v-evelk's avatar
    v-evelk
    Microsoft Employee

    Hi,

     

    Theoretically, you can encode images to base64 format and store them in capabilities settings.

     

    Kind Regards,

    Evgenii Elkin,
    Software Engineer
    Microsoft Power BI Custom Visuals
    [email protected]

    • inserv's avatar
      inserv
      Regular Visitor

      Hi Evgenii Elkin,
      Thank you for your quick response.
      Apologies for the delay in our response.

      We will try your suggession.
      Appreciate your help and time.