Reputation: 41
I'm struggling with SSRS to get external Images shown on my report.
Situation/Environment
Problem
If I call the image by http://server/folder/image.jpg I see the image in Report Builder Design View, Preview and online on the server. HTML on the server:
<img onload="this.fitproportional=true;this.pv=0;this.ph=0;" height="155" src="/Reports/Reserved.ReportViewerWebControl.axd?
ReportSession=0vesr555hdhfqebcbzbyf4el&Culture=1031&CultureOverrides=False&UICulture=7&UICultureOverrides=False&ReportStack=1&
ControlID=db6faa0405f142afa197478522ab25ae&OpType=ReportImage&IterationId=822ad1f6603e4ed5a7669b1863d74b1f&
StreamID=73e6746a0121466fa7e9c958c3dfb384" width="96">
If I call the image by http://server/folder/image.jpg?downsize=100:* I see the image in Report Builder Design View but not in Preview and not online on the server. HTML:
<img onload="this.fitproportional=true;this.pv=0;this.ph=0;" height="155px" src="">
Testing
That behavior can be tested with these examples:
I have to use the downsize parameter (and others) as the images are stored in full resolution and the report gets really big if they're not resized. The list of images is dynamically loaded by a SQL-Dataset and there are tons of images so I can't resize and save them somewhere else...
I tried many URL/parameter constellation and my conclusion is: SSRS can't/won't handle the = (equal sign) in the image path. All other characters seems to work without trouble only the equal sign.
Did somebody had the same problem and found a solution for handling "=" in SSRS external Image URL paths?
Upvotes: 4
Views: 814