Image in the reports

I have to display an image in the report.
but actually i'm getting it from the database and displaying it (it's a BLOB file).
Can anybody suggest me , so that i can have the image displayed in a larger size than the size wat i'm getting from the database ?
Thanks in advance

Hi Guru,
  Check the below link, it will be useful for you:
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0c8bfa4-7348-2c10-b9ae-bc1ff04a9aeb?QuickLink=index&overridelayout=true
Thanks
Pawan

Similar Messages

  • Please could anybody has a sol, to bring images to the report for all employees which has no reference with images stored in some path

    Hi Obiee experts,
    I have placed the images in  below locations  and these images are independent and  has no reference to the employee id column in dimension table.but my client requires report with all the employees,with respect to the images.Could anybody can give me a solution for this.
        1) root: \apps\Middleware\user_projects\domains\bifoundation_domain\servers\bi_server1\tmp\_WL_user\analytics_11.1.1\7dezjl\war\res\s_blafp\images
       2) root: \apps\Middleware\Oracle_BI1\bifoundation\web\app\res\s_blafp\images
       3) root: \apps\Middleware\instances\instance1\bifoundation\OracleBIPresentationServicesComponent\coreapplication_obips1\analyticsRes
    Thanks in Advance
    kumar

    Hi Sreeni,
    The images are stored with employee ids reference like 1234.jpg in the image location path, so will it be possible to call those images into the report with no relation at database level.
    as you said in above mail even if if we cld try  to store the images in oracle database with format like CLOB format the rpd will not support the datatype to bring to that report level.
    Please let me know if you have any solution
    Thanks in Advance
    kumar

  • Is there a way to rotate an extrnal image in the report builder?

    hello,
    my current format of this pictures is WMF. 
    i want rotate an image by a condtion, is it possible?

    Hi oren,
    By design, the image control only supports BMP, JPEG, GIF, PNG and X-PNG image formats in Reporting Services. Reporting Services doesn’t support display WMF format image. Besides, there is no such property that can rotate the image in the report, let alone
    based on some conditions.
    Personally, if you have any concern about this, please submit a feedback at
    https://connect.microsoft.com/SQLServer/Feedback. Connect site is a connection point between you and Microsoft, and ultimately the larger community. Your feedback enables Microsoft to make software and services the best that they can be, and you can learn
    about and contribute to exciting projects.
    Thank you for your understanding.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Printing a .gif image in the report

    Hi All,
    Iam doing a report in OPM(Textile setupslip report).
    I need to pull up a .gif image in the report's second page and print it.Any suggestions how to do this...?
    Thanks and Regards..

    Hi All,
    Iam doing a report in OPM(Textile setupslip report).
    I need to pull up a .jpeg image of the sample of the textile in the report's second page and print it.Any suggestions how to do this...?
    pls guys , it's very urgent..
    any help will be appreciable..
    Thanks in advance..
    Regards..

  • How to show a compressed image in the report?

    Hi
    I have created a new report.what i do in application is i  compress the image and save it in database.now i need to retrieve the compressed image and display in the report. I have used the following code to decompress the binary data save in the image.I
    dont know after that what should i do. Please help me to show the picture in SSRS Report. I need to show picture in many reports.one of my doubt is how to call this function in SSRS Report. The function accepts input as byte but in database the column in varbinary.
    should i convert the input type of function to varbinary instead of byte array? Please help me.
    Public Function Decompress(ByVal arr As Byte()) As Byte()
    Dim notCompressed As Boolean
    notCompressed = False
    Dim MS As MemoryStream
    MS = New MemoryStream()
    MS.Write(arr, 0, arr.Length)
    MS.Position = 0
    Dim stream As GZipStream
    stream = New GZipStream(MS, CompressionMode.Decompress)
    Dim temp As MemoryStream
    temp = New MemoryStream()
    Dim buffer As Byte() = New Byte(4096) {}
    While (True)
    Try
    Dim read As Integer
    read = stream.Read(buffer, 0, buffer.Length)
    If (read <= 0) Then
    Exit While
    Else
    temp.Write(buffer, 0, buffer.Length)
    End If
    Catch ex As Exception
    notCompressed = True
    Exit While
    End Try
    End While
    If (notCompressed = True) Then
    stream.Close()
    Return temp.ToArray()
    Else
    Return temp.ToArray()
    End If
    End Function
    Thanks & Regards Manoj

    Please try this 
    Public Function Decompress(ByVal arr As Byte()) As Byte()
            Dim s As Byte()
            Dim notCompressed As Boolean
            notCompressed = False
            Dim MS As System.IO.MemoryStream
            MS = New System.IO.MemoryStream()
            MS.Write(arr, 0, arr.Length)
            MS.Position = 0
            Dim stream As System.IO.Compression.GZipStream
            stream = New System.IO.Compression.GZipStream(MS, System.IO.Compression.CompressionMode.Decompress)
            Dim temp As System.IO.MemoryStream
            temp = New System.IO.MemoryStream()
            Dim buffer As Byte() = New Byte(4096) {}
            While (True)
                Try
                    Dim read As Integer
                    read = stream.Read(buffer, 0, buffer.Length)
                    If (read <= 0) Then
                        Exit While
                    Else
                        temp.Write(buffer, 0, buffer.Length)
                    End If
                Catch ex As Exception
                    notCompressed = True
                    Exit While
                End Try
            End While
            If (notCompressed = True) Then
                stream.Close()
                Return temp.ToArray()
            Else
                Return temp.ToArray()
            End If
        End Function
    Thanks & Regards Manoj

  • Include PDF/RTF stored as blob like an image in the report

    Hi,
    I've one rtf template and at the end of the document I will attach a predefined text. I has two ideas how to implement that. One could be to store the text as a file in the file system (as rtf, doc, pdf, ...) and link it in the document (the link must by dynamically because of different text depending on a value in my xml). The other way could be to store my different texts as a blob in the db and include it like an image (an image I've still included and it works).
    Can somebody explain me step by step how to solve my problem.
    Regards
    Carsten

    Hi Chris,
    tx for your reply.Including with sub-templates works fine. Now I try du import my sub-template dynamically. I've a value in my data XML for the sub-template and I like to do build my import link with this value.
    Now I'm using:
    <?import:http://#server#:#port#/xmlpserver/sub_template1.rtf?>
    And I want to do something like this:
    <?import:http://#server#:#port#/xmlpserver/<mySubTemplate>.rtf?>
    where <mySubTemplate> is the value from my data XML.
    I looked for variables in the documentation, but I'm not shure how to use them.
    In the chapter "Using XSL Elements" there is an example <xsl:variable name="color" select="'red'"/> but I'm not shure if I can use this syntax in my rtf-template, because to lines above in the doc the BI Publisher Tag is <?variable:name?> but where do I assign my value there?
    tx in advanced for the support
    Carsten

  • Unable to view images in the crystal reports on a jsp

    Hi folks,
    I am unable to view any image (not even the ones like businessobjects logo) in the crystal reports fetched from the CMS. I am able to fetch the report properly. But I don;t get to see the images in the reports.
    If anyone of you know how to fix it. Kindly post it. It's urgent.
    PS: It would be great if you could kind of share a check list of things that need to be taken care of while viewing a crystal report with images.

    Hi Suresh,
    Please check that you have crystalreportviewers11 (for version XI) or crystalreportviewers115 ( for version XI R2) folder in your BO installation and your web.xml has correct reference to it. You can copy this folder over in your web application and
    Add an entry in web.xml as follows ( if it doesn't exist)
    <context-param>
      <param-name>crystal_image_uri</param-name>
      <param-value>/<your application name>/crystalreportviewers115</param-value>
    </context-param>
    crystalreportviewers11\115 have images folder which contain all the images for Logo and toolbar. Check the images folder in viewers and make sure that they exist.
    -Aasavari

  • How to dynamically load a Base64 string to an image on the Crystal Report?

    I have a signature stored in my SQL Server 2008 DB as a Base64 encoded string. It is in a datatype of nvarchar(MAX), field named ="signature_stream"
    I am using Crystal Reports Basic for Visual Studio 2008.a XML field definition file to load the data to the report.  In that file [signature_stream] is a xs:string type.  This is a asp.net application so ideally I would like not to have to save the image to disk before showing it.
    I need to be able to take [signature_stream] and load it onto my report from server side code. 
    Any help would greatly be appreciated.

    Hi Jimmy,
    CR is a 32 bit app so it won't be able to handle an image in x64 format unless you find a way to convert it to x86 type.
    The MS SQL client may be able to do this for you though. Install the SQL Native 10 client from the MS SQL Tools menu options and then convert/update the report and DSN to use the SQLNCLI10.dll as the client dll.
    See if you can add that field to the report, if that works then you can add any image to the report and set the image formula to that database field using the Formula field:
    click the X-2 button for graphic location and select the field with the image in it.
    Now preview, if the Client converts 64 to 32 bit then this should work for you, if not then only option is as Dell pointed out and save the image to the HD in BMP or JPG format and then you can use the same Graphic Location formula to point to the folder and file location.
    To update it in code it would look like this in the KBase article:
    2021348 - Modifying a Picture object in .NET ignores Object.Height and Object.Width when setting Condition Formula Can Grow is enabled
    Symptom
    When modifying an existing picture object and using a formula to update the image file location and name using the .Modify() method the image is not sizing accordingly.
    Environment
    Crystal Reports for Visual Studio
    VS 2010
    VS 2012
    VS 2013
    Resolution
    You can do this all dynamically and creatively as you wish but the basics to updating the image is as follows:
    CrystalDecisions.ReportAppServer.ReportDefModel.PictureObject boPictureObject = new CrystalDecisions.ReportAppServer.ReportDefModel.PictureObject(); ;
    string strNewImageFilename = "D:\\Atest\\DSC_2655.jpg";
    foreach (CrystalDecisions.ReportAppServer.ReportDefModel.ReportObject oReportObject in objects)
        if (oReportObject.Kind == CrystalDecisions.ReportAppServer.ReportDefModel.CrReportObjectKindEnum.crReportObjectKindPicture)
            var oPlaceholderPicture = oReportObject as CrystalDecisions.ReportAppServer.ReportDefModel.PictureObject;
            if (oPlaceholderPicture != null)
                    // clone the original object so it can be modified
                    var oNewPicture = (CrystalDecisions.ReportAppServer.ReportDefModel.PictureObject)oPlaceholderPicture.Clone(true);
                    var cf = new CrystalDecisions.ReportAppServer.ReportDefModel.ConditionFormula();
                    PicFileLocationFormula.Text = "\"" + strNewImageFilename + "\"";
                    oNewPicture.Format.EnableCanGrow = false;
                    oNewPicture.GraphicLocationFormula = PicFileLocationFormula;
                    oNewPicture.Width = 4320;  // 3 inches
                    oNewPicture.Height = 1440;  // 1 inch
                    rptClientDoc.ReportDefController.ReportObjectController.Modify( oPlaceholderPicture, oNewPicture );
                    // Call the Modify again to update the CanGrow flag to false - default is set to True
                    oNewPicture.Format.EnableCanGrow = false;
                    rptClientDoc.ReportDefController.ReportObjectController.Modify(oPlaceholderPicture, oNewPicture);
    This issue has been tracked with ADAPT01727457 and scheduled for SP 11 ( possibly SP 10 )
    In the mean time use the above work around
    Don

  • Image disappears in the RH after saving and reopening the report

    Hi,
    I am using CR2008.
    I have created several reports with images  but didn't get this type of problem.
    I inserted image in the Report header and everything is fine, after save and exit if I reopen the report there is no image. It disappeared. I tried all possible ways with bmp, jpg formats of image and re-size the image. Still same problem. There is a blank OLE Object in the Report header when I reopen it. Is there any solution for this issue?
    Thanks!
    Edited by: Krishna.R on Jun 10, 2011 10:02 PM

    Hi
    Thanks for the reply. My problem is solved. The image file is too big in size and I resized it in crystal, that's why it behaved wiered. I reduced the size of the image outdide the crystal report in mspaint and then copied to crystal. It worked.

  • Can we set the Background Image for a Report

    Hi,
    I am generating a report thru the web now i want to give the background image to the report, let me know if any body knows about this.
    Thanx

    hello,
    try the before reports value of your report-level properties. add the BACKGROUND attribute to the BODY tag to reference an image-file for the background.
    regards,
    the oracle reports team

  • Showing dynamic and unknown number of images in SSRS report

    I am using SSRS 2008.  I need to display an unknown number of unspecified images on the report.
    Basically I have a webpage, where the user selects a specific ID (ex. 24) from a dropdown and then click "View Report".
    The report should then display any images, associated with that ID.  The only thing I know about the images, is the path to where the images are stored.  The path is kept in a database, so I should be able to retrieve the path ok.
    But then how do i get the report to display the images, when I do not know the name or number of images?
    Please help.

    Hi dukie4lif,
    According to your description, you have a report to display images selected by users. Now your issue is, the users select a specific ID to get images, but you only have the path of images stored in your database. Is my understanding correct?
    For your requirement, if the users want to get images by selecting a specific ID, this ID must be stored in database and associated with the path of those images. Otherwise the database can never query any records with this ID if it doesn’t have any ID stored.
    Now we need to go to your database, create one more table or add one more column in the table which have your path stored to store those IDs, and let them associated with those path. Use a parameter in this report for users selecting IDs. Then your goal will
    be achieved.
    Reference:
    Report Parameters (Report Builder and SSRS)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou (Pactera)

  • How to insert a dynamic image in a report

    Hi,
    I want to insert the image of a student in a report toghether with all other student's data. The image's file name is in a field of the students' table and the file is stored in a directory of the web application. I am using Visual studio 2010 and the reports are prepared with Crystal Reports 2008 (full product). At design time, when I try to insert an image on the report, it immediately asks for an image file on the computer, so I cant figure out how to insert an image whose path and file name come from a data source.
    Thank you

    Hi Don,
    As I said, when I insert any field in the report, say for instance the Student ID, and then link it to a database field containing the name of the image file to display (I have to concatenate the path to this file name as well), it first shows the report with the Student ID. If I click on it, because of the hyperlink defined at design time, it opens the file (an image in this case) in Internet Explorer, not on the report.
    The same happens if I put an image as an object on the report at design time. In this case as soon as I put the image object on the report it forces me to select an initial image to show on the report. Anyway, I define an hyperlink for this image, pointing it to the image file of the Student, using the database field containing the image file name. When I show the report I see the initial image I was forced to use and when I click it, the hyperlink takes me to the right student image, but even in this case it shows me the right image opening an Internet Explorer session and not on the report. On the report the initial image is still there and never changes.
    What I actually need is a way to put the student's image on the report as soon as it shows the other student's data, as the name, age, ***, and so on, without having to click somewhere to show the student's image.
    Thanks

  • Displaying image in abap report

    Hi Everyone.
    I need to display an image in a simple ABAP report giving the filepath of the image.
    Can anyone suggest me how to do it???
    Is there any FM for that, i need some solution.
    Kindly help.
    Thanks
    Regards
    Naveen

    I need to give the path of the image in the report itself and then while executing i must get the image in the output screen...
    Giving path is a must....

  • 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

  • Displaying images in pdf reports

    a question please..
    can one display only .gif type images or can they also be .jpgs?
    also, is there a limit to the size of the image one displays?
    also, can one control the size of these images in the reports.
    sorry about the above. I have looked around for answers with very little success.
    thanks in advance.

    Hi
    I'm actually wondering about the same thing, however, I'd like to implement a BLOB-image in a PDF Report.
    I found this link http://blogs.oracle.com/xmlpublisher/2006/05/05#a34 which makes it seem that BI Publisher supports base64encoded pictures. (There's a sample there aswell)
    Now my question is; how can we get the blobdata presented as base64 in the XML from ApEx? Anyone with some experience on this?
    Regards,
    Vidar

Maybe you are looking for