C1 Community
ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

Unbound Picture not visible in report

rated by 0 users
This post has 4 Replies | 1 Follower

Not Ranked
Posts 5
SwanB Posted: Thu, Jun 26 2008 7:10 PM

Hello,

 

I added a jpg logo as an unbound picture in the report designer.

When displaying the report on a web page the logo/picture is not showing up, but when converting to a PDF document the logo is displayed as expected.

On the missing logo in html report, is the path-/file name displayed like OrderReports.xml.ascx_files/ActualWorkDone_Field10_pic0.jpg, and when looking in the IIS server I can see that this path is at the root of the web site, even if the report source .xml is in a different path in the web site.

I have also added the httphandler:
      <!-- ** C1 WebReports for ASP.NET 2.x: ** -->
      <add verb="*" path="c1wrImg.aspx" type="C1.Web.C1WebReport.C1WebReport, C1.Web.C1WebReport.2"/>

But that did not help either.

 Is this a known bug in the WebReport display ?
 I am running version (2.5.20053.189)

Best regards,

SwanB

Top 10 Contributor
Posts 1,237
Please try the latest build of the C1WebReport dll and then let me know your observation. If the problem still persists then please send us the mail at support@componentOne.com
 
 
Regards,
Patrick
 
<SwanB> wrote in message news:206481@10.0.1.98...

Hello,

 

I added a jpg logo as an unbound picture in the report designer.

When displaying the report on a web page the logo/picture is not showing up, but when converting to a PDF document the logo is displayed as expected.

On the missing logo in html report, is the path-/file name displayed like OrderReports.xml.ascx_files/ActualWorkDone_Field10_pic0.jpg, and when looking in the IIS server I can see that this path is at the root of the web site, even if the report source .xml is in a different path in the web site.

I have also added the httphandler:
      <!-- ** C1 WebReports for ASP.NET 2.x: ** -->
      <add verb="*" path="c1wrImg.aspx" type="C1.Web.C1WebReport.C1WebReport, C1.Web.C1WebReport.2"/>

But that did not help either.

 Is this a known bug in the WebReport display ?
 I am running version (2.5.20053.189)

Best regards,

SwanB



http://helpcentral.componentone.com/cs/forums/p/75703/206481.aspx#206481

Not Ranked
Posts 7

I am having the same issue in various reports.  I am not sure about the version you listed in the URL, but I ran the Live Update and it states that the latest version is installed (v2.5.20082.288).  Is the link to a newer version?

Thanks.

Not Ranked
Posts 7

OK - this is something interesting I found.  If I use "localhost" for the web server name it fails to display the images.  When I deploy the project to a development server other than my machine it works fine.  Could this have anything to do with local resourcing of the file?  The file added to the report is in the images directory since it is simply the same logo that appears on the web site itself.

Thanks.

Top 100 Contributor
Posts 47

 I am having the same problem. Also in the PDF report the image is being displayed on the second page. The first page is empty and the image is a big one and easily extends to 2 pages. In the PDF I see the image on the 2nd page and its cropping everything after whatever it could fit on the second page. So

- No image in HTML preview
- No image on the first page in PDF
- Image is being cropped

Page 1 of 1 (5 items) | RSS
Contact ComponentOne: 1.800.858.2739 ©1987-2010 ComponentOne LLC All Rights Reserved.