Inserting static image in crystal report now showing the image

Post Author: liezl
CA Forum: .NET
Hello to everyone,
I am creating a simple report using Crystal Report in .NET 2005. I try to insert a static picture in the report but when I browse it through the web it didn't show at all. When I get the address of the picture it says http://liezl:8080/CrystalImageHandler.aspx?dynamicimage=cr_tmp_image_c31338e7-14d2-45f5-a4f9-29866febb34d.png. The error is "The Resource cannot be found. /CrystalImageHandler.aspx"
Please help me!!!
Thank you.

Post Author: eyalkz
CA Forum: .NET
I have the same problem.
The problem started after upgrading to CR XI Release 2, the image is not shown through crystal reports viewer in the browser.
However, I can see the image while printing, in preview mode and in export which means the general path is ok
the image is there but there is only an internal crystal report viewer issue that started in 11.5 version (in 11 version the same code worked)
If you find anything please let me know.
Thanks,
Josh

Similar Messages

  • When i use images in an applet, it shows the image url, how do i remove it?

    Ok, so when i open up an applet, and it uses images, it shows the url for each image, which is not good because my graphics could get stolen. Is there anyway to disable this?, i have never noticed it before.

    I notice the following from the documentation for one of the [ImageIcon constructors|http://java.sun.com/javase/6/docs/api/javax/swing/ImageIcon.html#ImageIcon(java.net.URL)]: "Creates an ImageIcon from the specified URL. The image will be preloaded by using MediaTracker to monitor the loaded state of the image. The icon's description is initialized to be a string representation of the URL."
    I guess if you are using this - or something similar - Java runtimes might decide to show the string representation of the URL while they are loading the image. In this particular case there is another form of the constructor which allows you to actually set the description string.

  • Crystal Report Viewer shows blank but exporting shows results

    I'm getting a really strange issue when opening a report using the CrystalReportViewer class.  The Crystal Report Viewer shows up nicely in my webpage....but the report is completely blank.  When I click on the Export button in the Viewer & export to any format,  the results show up nicely.  Also when I right click on the Viewer page & view source, I can see all my report data there in Javascript....but for some reason it's just not being rendered on the page.
    I'm using Crystal Reports 2008 & I believe I've added the necessary jars & also included the entire crystalreportviewers folder (with all js files) in my Web folder.  Also, I don't see any exceptions in the crystal_exception_log_file.
    Any help would be greatly appreciated
    Thanks

    The same problem to me also.
        I was using the crystal report in visual studio 2008, the report was perfectly working. But when we migrated the project into visual studio 2010, the crystal report simply shows the blank report. But the javascript is having the actual data but not only rendered in the screen.
       Please anybody have valid solution for this, let us know.
    Thanks

  • Hey i want to make image effects, if i cut a image by scissor it start showing the next image below

    i have to make a animation, in which their are images on each other once i start cutting the above image with scissor it start showing the image which is below the above image. can anyone help me, any help is highly appreciated.

    If I am understanding your intentions, one way would be to create a mask for the image and have sections of the mask removed with each completed cut with the scissors.  So it would involve a mask that changes on a frame by frame basis.  Only what the mask covers is visible, so as the mask pieces are removed, the sections of the image not longer covered by the mask are made invisible.

  • Inserting images in Crystal Reports

    Hello,
    I have two questions regarding the use of pictures in a Crystal report :
    1. Is there a maximum dpi resolution limit for pictures to be inserted in a Crystal Reports.
    2. Is there a way to control the PDF output picture quality ? When exporting to PDF, the quality of the picture is reduced.
    Thank you
    Anthony

    I have the following questions about inserting images into Crystal Reports:
    1.  Can the images be positioned horizontally?
    2. When there is more that one image attached to a database record, can the number of images be limited in the report?
      (For example, limit the number of images for each record to two.)
    3. If there is more than one page to a record, how can the image for the record be suppressed on all pages subsequent to the first page of the report?
    4.  If there is no image attached to the database record, how the space reserved for the image closed up?
    Thank you.

  • Visual Studio 2005 - Display images in Crystal Report

    I have been tyring to import an image from the HD into crystal reports. I have been failing miserably. I have researched the web and the forum and tired the approaches and still no luck.
    I do not use a database and am using the crystal report that came with VS 2005 PRO. What version of CR do I have?
    I have tried adding OLE object and still did not work.
    Please advice!

    Hi Jerry,
    What is the type of image you are trying to insert in Crystal reports ?
    Have you tried using Insert--Image? You have to select the location of the image and place it in your report.
    Is the image is located in your HD or pulling from network drive ?
    Please try the following :
    --Open your image in MS Paint
    --Save the image as .bmp in your local HD Drive
    --Insert the image directly or insert as OLE object.
    Hope this will help you.
    Thanks,
    Sastry

  • Crystal Reports 2008 and Dynamic Images

    Hello,
    I have a windows .net application that uses a listing of items in a grid.  The user selects an item then clicks the print button and that brings up a report viewer form and passes the photograph location in a parameter to the report document being loaded.
    The first time that this report is printed, the image for the selected item is printed correctly.  The next time the report is printed, the default image used to create the graphic object on the report is printed.
    In addition if a user double clicks on the listing of items, a detail form is displayed.  When the same report is printed from this screen, the default image used to create the graphic object on the report is printed.
    This is happening in multiple .net windows applications.
    Can anyone please give me an idea as to what may be causing this.
    I am using Crystal Reports 2008 with Service Pack 2 installed.
    Thanks

    The following is the code in the Report Viewer form that contains the Crystal Report Viewer Control.
    Imports CrystalDecisions.CrystalReports.Engine
    Imports CrystalDecisions.Shared
    Imports CrystalDecisions.Windows.Forms
    Imports System.IO
    Public Class RptViewer
        Inherits System.Windows.Forms.Form
        Dim MyReport As CrystalDecisions.CrystalReports.Engine.ReportDocument
    #Region " Windows Form Designer generated code "
        Public Sub New()
            MyBase.New()
            'This call is required by the Windows Form Designer.
            InitializeComponent()
            'Add any initialization after the InitializeComponent() call
        End Sub
        'Form overrides dispose to clean up the component list.
        Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
            If disposing Then
                If Not (components Is Nothing) Then
                    components.Dispose()
                End If
            End If
            MyBase.Dispose(disposing)
        End Sub
        Friend WithEvents CrystalReportViewer1 As CrystalDecisions.Windows.Forms.CrystalReportViewer
        'Required by the Windows Form Designer
        Private components As System.ComponentModel.IContainer
        'NOTE: The following procedure is required by the Windows Form Designer
        'It can be modified using the Windows Form Designer. 
        'Do not modify it using the code editor.
        <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
            Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(RptViewer))
            Me.CrystalReportViewer1 = New CrystalDecisions.Windows.Forms.CrystalReportViewer
            Me.SuspendLayout()
            'CrystalReportViewer1
            Me.CrystalReportViewer1.ActiveViewIndex = -1
            Me.CrystalReportViewer1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
            Me.CrystalReportViewer1.Dock = System.Windows.Forms.DockStyle.Fill
            Me.CrystalReportViewer1.Location = New System.Drawing.Point(0, 0)
            Me.CrystalReportViewer1.Name = "CrystalReportViewer1"
            Me.CrystalReportViewer1.Size = New System.Drawing.Size(656, 481)
            Me.CrystalReportViewer1.TabIndex = 0
            Me.CrystalReportViewer1.ToolPanelView = CrystalDecisions.Windows.Forms.ToolPanelViewType.None
            'RptViewer
            Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
            Me.ClientSize = New System.Drawing.Size(656, 481)
            Me.Controls.Add(Me.CrystalReportViewer1)
            Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon)
            Me.Name = "RptViewer"
            Me.Text = "Report Viewer"
            Me.WindowState = System.Windows.Forms.FormWindowState.Maximized
            Me.ResumeLayout(False)
        End Sub
    #End Region
        Private Sub RptViewer_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
            Try
                Dim myConnectionInfo As ConnectionInfo = New ConnectionInfo()
                myConnectionInfo.ServerName = MyServer (Name of SQL Server)
                myConnectionInfo.DatabaseName = MySqlDb (Name of Database)
                myConnectionInfo.UserID = MyUid (Userid for SQL Database)
                myConnectionInfo.Password = MyPwd (Password for SQL Database)
                MyReport = New CrystalDecisions.CrystalReports.Engine.ReportDocument
                MyReport.Load(Path.GetFullPath(".") & "\" & MyReportFile)
                MyReport.SummaryInfo.ReportTitle = MyReportTitle  (Title passed to the report)
                MyReport.SummaryInfo.ReportComments = MyReportComments   (Comments passed to the report)
                SetDBLogonForReport(myConnectionInfo, MyReport)
              MyReport.SetParameterValue("MySequence", MyReportKey)  (Parameter passed to select single record in table)
               MyReport.SetParameterValue("MyPhotoLocation", sPhotoLocation)  (Physical Location of Photograph \\Server\Photos\)
                CrystalReportViewer1.ReportSource = MyReport
                'handle any exceptions
            Catch ex As Exception
                MessageBox.Show(ex.Message, "Report could not be created", MessageBoxButtons.OK)
            End Try
        End Sub
        Private Sub SetDBLogonForReport(ByVal myConnectionInfo As ConnectionInfo, ByVal myReportDocument As ReportDocument)
            Dim myTables As Tables = myReportDocument.Database.Tables
            Dim myTable As CrystalDecisions.CrystalReports.Engine.Table
            For Each myTable In myTables
                Dim myTableLogonInfo As TableLogOnInfo = myTable.LogOnInfo
                myTableLogonInfo.ConnectionInfo = myConnectionInfo
                myTable.ApplyLogOnInfo(myTableLogonInfo)
            Next
        End Sub
    End Class
    In the Crystal Report the Graphic Location formula field takes the {?MyPhotoLocation} + {Table.Photo} field to display the picture.  I have placed the parameter and the photo field on the report and the correct data is in the fields.
    This is the exact same form being opened and that displays correctly from the listing screen.
    Joel
    Edited by: JYaeger on Aug 8, 2009 2:56 AM

  • Thumbnail images in crystal report XI R2

    Please help on how to show thumbnail images in crystal report XI R2 using Oracle datbase.We are storing the images in database using image location ex:http:
    ..jpg and not the image itself.

    Crystal does not have the bility to use thunbnails. But that would be a great enhancement. I'll add it to the Enhancement request database.

  • Need help with adding formatted text and images to Crystal Report?

    Here's my scenario:
    I have a customer statement that's generated as a crystal report and that has a placeholder for advertisement. The advertisement is mixture of formatted text and images. Until now we only had one advertisement that was always used on the report. The new requirement is that we would have a pool of hundreds of advertisements and would need to display one specific advertisement on the customer statement based on various marketing criteria. They key is that the advertisement content will be determined programmatically and cannot be hardcoded into the report. I'm using Crystal2008 with .net SDK.
    Here are the solutions I thought of, but I'm still rather lost and would appreciate your help/opinion.
    1) Pass HTML or RTF to the report
    Not really sure if this is possible and how to get it done. Also how would I pass in images? Would display formatting be reliable when exporting to PDF?
    2) Create each add as a subreport and append it programatically
    I actually have this working, but I only know how to append a new section to the end of the report and then load the subreport to the section. I have no other controll of the placement. Is there a way to dynamically load a subreport to a predefined section in the main report? How about adding a dummy subreport in the main report as a placeholder and then replacing it with a different subreport? How could I do this?
    3) Pass an Image to the report
    I would create each advertisement as an image and then would somehow add the image to the report. How would I load the image and control the placement? Could I somehow define a placeholder for the image in the main report-maybe a dummy image to be replaced?
    Thank you.

    Hello Pavel,
    I would got the third way.
    You can use dynamic images in your report.
    Just by changing the URL to the image the image can be changed.
    Please see the [Crystal Manual|http://help.sap.com/businessobject/product_guides/cr2008/en/xir3_cr_usergde_en.pdf] and search for images.
    or directly here
    [Setting a Dynamic Graphic Location Path on an Image Object|https://boc.sdn.sap.com/node/506]
    [Dynamic image and HTTP://|https://boc.sdn.sap.com/node/3646]
    [codesample for .NET|https://boc.sdn.sap.com/node/6000]
    Please also use
    [Crystal Reports 2008 SDK Documentation and Sample Code|https://boc.sdn.sap.com/developer/library/CR2008SDK]
    [Crystal Reports 2008 .NET SDK Tutorial Samples|https://boc.sdn.sap.com/node/6203]
    Hope this helps
    Falk

  • Load Multiple Images in Crystal Report using Paths

    Hi Guys,
    I am currently in need of developing a new requirement for our company's client. We have to load multiple images using just link in Crystal Report. Let's say that the images are stored in a folder (e.g., C:\Datafolder\Images\) and i have to fetch two images to show in crystal report (say, C:\Datafolder\Images\imageval1 and C:\Datafolder\Images\imageval2). These are actually dynamically created and therefore the number of images are not known and so i have to iterate through the list of image links.
    Is it possible using merely crystal report and how?. If not, can I do it using Crystal Report SDK?. Any help will be appreciated. Please take note that we're also using C# in developing our software applications.
    Thanks and best regards.
    ---CHITO--

    There are also a number of KBAs:
    1296803 - How to add an image to a report using the Crystal Reports .NET inproc RAS SDK
    1199408 - How to load an image from disk into a dataset using CSharp (C#) in Visual Studio .NET
    Other related KBAs:
    1216239 - How to access a Crystal Report "Preview Picture" using the CR .NET or RAS .NET SDK?
    1373770 - How can I add a picture to a Crystal Reports subreport using the RAS .NET SDK?
    1320507 - How to change images dynamically in Crystal Reports based on parameter selection?
    And more. Please do use the search box in the top right corner. Simple search terms are best. E.g: 'crystal image net' or 'crystal image format formula', etc.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Converting a binary string into a JPEG image in Crystal Reports 2008

    Hi Gang
    Iu2019m having problems converting a binary string into an image in Crystal Reports 2008
    I have JPEG images stored in ECC.  ECC stores the data in binary format.
    Iu2019m using the ECC function module SKWF_PHIO_CONTENT_ACCESS_GET to retrieve the data.  This function module has an export table, FILE_CONTENT_BINARY, which returns several lines of data.  Each line contains a maximum of 1,024 characters.
    When I drop the T_ FILE_CONTENT_BINARY.LINE field into my Crystal Report detail section, I wind up with a report that displays all the lines in FILE_CONTENT_BINARY table.  (in my case, 19 lines are displayed.)
    I created a formula to collect all the data into a single string.
    whileprintingrecords;
    stringvar data:= data & {SKWF_PHIO_CONTENT_ACCESS_GET.T_FILE_CONTENT_BINARY.LINE}
    I added the formula to the detail section and itu2019s doing a great job collecting the data.
    I then inserted a picture object in the report footer, opened the format editor, navigated to the u201Cpictureu201D tab, and inserted a formula for the u201Cgraphics locationu201D.
    whileprintingrecords;
    stringvar data:=data;
    data
    My clever idea turned out to be a disappointment . . . . my picture object is blank.
    Does anyone have a solution for converting a binary string into a JPEG image?

    Save the JPEG in a format CR supports. Refer to the help file for the file types.

  • Report not showing my image in BLOB field

    Hi,
    I m using report 6i.
    But I just upgraded my server from Oracle 8.0 to 9i and now that I have a new table with image, I created the field to be a BLOB field.
    However, in old days, I uses LongRaw and I save my images using the following:-
    READ_IMAGE_FILE(filename, 'BMP', 'logos.logo')
    it works perfectly when I call the file outfrom my report but now, after I changed to BLOB, I use the report to open the BLOB field and stated it as image, it shows error stating that the report cannot identify the image.
    Any advice on this please?
    Thankz

    Develop a simple form including the BLOB field and set the properties of the image item accordingly.
    See help in forms 9i for details & examples.
    Use read_image_file built-in to read the image from the file to the BLOB item of this form.
    In the report, you set the properties of the BLOB field as in my previous reply. Run the report. That's all!
    In the reports developer, I don't think you can use read_image_file built in.

  • I've been using LR with my Nikon D3200 for a year or so. Shooting in RAW/NEF no issues with import etc until I updated LR and now I can't get LR to allow me to select when I try to import. It does show the images but they're grayed out and not able to be

    I've been using LR with my Nikon D3200 for a year or so. Shooting in RAW/NEF no issues with import etc until I updated LR and now I can't get LR to allow me to select when I try to import. It does show the images but they're grayed out and not able to be selected. Any thoughts? TIA

    Greyed imaged in the Import dialog box mean you have already imported the photos into Lightroom, so there is no need and no benefit to importing them a second time.
    Just go to the Library module, search for the desired photos, and resume working on these photos.

  • Images with Crystal Reports

    Somebody pls. advise if it's possible to display images with Crystal Reports ?!
    I want to generate a Price Catalog with images.   I have uploaded images into the system.
    Unfortunately, Oracle Report Builder has let me down.
    A short tutorial on how to achieve this will be useful as i am still trying to get acquainted with CR.
    Cheers - Mave

    Hi..
    I saw your snap shot, in your snap shot you are selecting table fields.  The option is much before selecting table fields.
    Like :
    a. Select Standard Report wizard
    b. It ask you to connect to your datasource (ODBC / OLE DB /Native)
    c.Once you connect to your database you will see below options
       - Your Database Name
          Add Command
          Tables
          Views
          Stored Procedures
    Here you need to select Add Command and it will opend a window to type your sql.
    Thanks,
    Sastry

  • Where is the Manage Object function in Crystal Reports 2013 for the CMC?

    I recently upgraded to Crystal Reports 2013 after upgrading our Crystal Reports server to SAP Business Objects Platform 4.1. Before the upgrade, I could publish reports from Crystal Reports XI to the CMC then right-click on the report title in the Repository Explorer (in Crystal Reports) and I had the option to select Manage Object where I could set the default settings for the CMC. I am not seeing this option in the new version of Crystal Reports. Is there something I need to do to see this option or has this option been removed from Crystal Reports 2013?

    Hi Kelley,
    You're right, the option doesn't exist in CR XI R2 and above.
    All the options now need to be set in CMC.
    -Abhilash

Maybe you are looking for

  • Cost of replacing hard drive on my powerbook G4

    I bought my powerbook about 2 years ago and to be honest, have loved it a lot. Today after a coffee break, I sat to work on my PB and it was very slow...then began a host of problems which have ended with it not starting up. I have done disk utility

  • CS3 version activation after hard disk crash?

    I tried to activate the CS3 version again, now after installing it to the new hard disk from  original AI CD. Old image of old hard disk AI is in separate folder /Good Files . When contacting Adobe to register, AI registration automat tells me to (th

  • Abort a failed process inside a .cfm page

    Hello everyone, I have been bothered by this for a while. I have a cfm page that is doing a process of extracting data and ftp to locationA. I have this running for about two years. Then there came the need to do the same process and ftp to locationB

  • Problems configuring my new Mac

    When I was configuring my new MacBook Pro, in the step of migrate my files to my old PC to the Mac, the PC turned off and my Mac is now blocked. How can I solve this problem?

  • Offloaded some Firefox 2.0 add-ons, can't get it started again Mac OS 10.3.9

    Thinking if I uninstalled some Firefox 2.0 features I could get it to run faster on my dinosaur Mac OS 10.3.9, now I can't get it to open at all. It tries, then collapses in desperation.