web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

D365 report not showing image from a WebResource file

(0) ShareShare
ReportReport
Posted on by 5

I am trying to get a web resource image to print on an SSRS report.

My development environment is running VS 2015, SQL Tools and BIDs (v9.0) and the report runs and displays the image.  

pastedimage1581790135923v1.png

When I move the report to CRM on-line, the report runs with no errors, but without showing the image.

pastedimage1581790219750v2.png

If I go to the Web Resource file, I can display the image. 

pastedimage1581790702949v6.png

When I try to pull the image from the report, I see that "data:image/gif;base64,..." has been added to the beginning of the image.  I have tried removing this various ways, but it does not work.  Anyone have a workaround for this?  Or some idea how I can debug this?   

I have the same question (0)
  • Verified answer
    cloflyMao Profile Picture
    25,210 on at

    Hi Jon,

    I have reproduced your issue successfully: the web resouce image link will be converted to "data:image/gif;base64,..." as what you had encountered.

    That's because you're trying to embed web resource as image file on report, 

    web resource could be only accessible when we're browsering inside CRM.

    You could export your web resource as a local file, then import it into your report.

    1. Open your web resouce in a new tab, right click the image and "Save image as..".

    2. In SSDT, select the image source to Embedded and click "Import..", select the specific format.(PNG in your case)

    pastedimage1581926840412v1.png

    3. Then you can see image.

    pastedimage1581926887960v2.png

    Regards,

    Clofly

  • _Jon_ Profile Picture
    5 on at

    Thank you for your time.  However this image is part of a report page that is requested by the user when we process their turn - we never know which one they might get.  There are 576 different maps that can be requested based on the turn being processed. 

    You can click on the image that you can't see and tell that it has the  "data:image/gif;base64,..." on the front of it.  I have tried to truncate this off, but the image still does not display.  The web resource is making it to the report.  I am going to try to use an external mapping and store the image on a web site to see if it can access it that way.

  • _Jon_ Profile Picture
    5 on at

    That worked fine - I will simply have to store all of the maps elsewhere, rather than with the solution.  

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 83 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 49 Most Valuable Professional

#3
#ManoVerse Profile Picture

#ManoVerse 40

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans