Dynamic Images on Reports

I want to display an image on my reports using the 'Alternative Text' option in the rtf image properties. I have a package function that I will be using to grab the image from my DB table
select 'http://server1.acboe.org:9000/pls/apex/SIS_EXPRESS.sis_express_base.display_student_picture?l_fk_student_id=' || B.FK_STU_BASE)
from stu_base B FILEPATHVALUE.
What I don't want to do is hard-code my server info in the URL ''http://server1.acboe.org:9000/'. Is there anyway to let it pull the current URL info from the page that was displayed and tack on the rest 'SIS_EXPRESS.sis_express_base.display_student_picture?l_fk_student_id=' || B.FK_STU_BASE'?

hi try to get that url as an xml tag and try the below pattern in alternate text tab
url:{.//IMAGE_URL}
or
url:{/IMAGE_URL}
IMAGE_URL is the xml tag name which will have image location

Similar Messages

  • Dynamic images in reports -- PDF output

    In Reports uilder I can link an image object to a URL as described in the product help. This works well with an HTML output but in PDF only the image URL appears.
    How could I solve this problem?
    Thank you.

    Hi,
    The URL method of including images in valid only for HTML output.
    The Reports Builder Help on "Images says that:
    You can add an image to a report by:
    - selecting a column in the database that contains images
    - importing the image from a file into the report layout
    - linking an image object to a file
    - for HTML output, selecting a column in the database that contains URL links to images or linking an image object to a URL
    If you reference a URL for an image, the image is displayed when you format your report for HTML output. For other output formats, the URL text displays in the Paper Design view
    The reason for this is that Oracle Reports will only write the URL in the output. In case of HTML output, the browser can understand the URL, so it will fetch the image from the URL and show it. But this cannot be done by Acrobat Reader.
    For PDF output you will have to use one of the other methods of inserting an image.
    Navneet.

  • Dynamic Images in PDF Report

    Hi,
    I want to create Badges from employee table (ID, NAME, JOB_TITLE, PHOTO). I downloaded and installed a demo application "USING DYNAMIC IMAGES IN PDF REPORT". It works fine with smale images < 20K. I'm getting the following error for images > 20K :
    "ORA-06502: PL/SQL: numeric or value error: raw variable length too long"
    it seems like a buffer problem.
    could you pls help to solve this problem
    Thanks,
    Ribhi

    Hi Carsten
    That was exactly* I was looking for. Maybe I should Google more in German ;-)
    The main problem was that I defined my image outside the first repeating group (that doesn't repeat, it's always just one object) - the first group is followed by 7 more.
    Just like the "Name" (that's positioned outside the group in the document header), I positioned the image above the table representing the group.
    Doing that, the "Name" is filled correctly, the Image only when the Output Format is Excel or HTML - not Word or PDF ... makes no sense but that's tje way it is.
    After moving the image inside the group....it works great!
    (One more thing...the image size is fixed to the image you use as "dummy". Is there any way to make that more flexible, because now some scaling happens...)???
    @Trent: That was the way we initially did it, but when the size of the row exceeds 32K...you know what happens.. And even with a small image the 32K limit is hit easily
    The way I use it now (very similar to Carsten's description) there is no limit....
    Thank you all!
    Roel

  • Dynamic Images in Crystal Reports

    I have a report with Dynamic Images. I am able to run the report but once I try to export it or try to browse through the pages I get the following error:
    Application popup: Crystal Reports - [Inventory Graphics Report.rpt]: crw32.exe - Application Error : The exception Integer division by zero.
    (0xc0000094) occurred in the application at location 0x2c03a410.

    Hi Don,
    I have read your response 10 times, but I don't really understand it.
    "Your only option is to use the Insert OLE Object or picture into the report" - fine, but how is this achieved from a dataset?
    "CR will not display BLOB fields as pictures" - fine, but maybe I used the word BLOB badly. The dataset column datatype is "byte[]". Will CR display byte[] columns as pictures?
    "You can use a database field to point to which picture file to use, then you won't be using up valuable memory space importing the images into your data set. And the Logo's now dynamic...." - this seems to suggest that the database field is a string storing the file location on disk. Yes? I don't care about memory space in this case and I'm happy to load a binary file into a byte[] column if there is a way of displaying it.
    So, if I understand correctly, you're suggesting the dataset contain a table.row.column which stores the filelocation. How do I convert that to display as a picture (dynamically)?
    Robert

  • Showing dynamic images in BI Publisher PDF report

    I defined a RTF report layout in BI Publisher. Almost done, but one requirement missing...
    I should be able to include a dynamic image (so every "object" on the report has it's own image).
    At first I embedded the base64 converted image in the XML output, but then I am running into the 32K limit. (Small pictures render fine).
    Although Marc Sewtz sort of promised in June 2008 (!) : "One issue, which we'll address in the next version of Application Express, is the 32k limit on report columns." on his blogpost http://marcsewtz.blogspot.com/2008/06/one-question-about-pdf-printing-feature.html , it still not addressed.
    So I tried to embed the image in the report using a trick described on the forum (and BIP documentation), by embedding a dummy picture and set the "Alt-text" of the picture to
    (as an example) : url:{'http://www.oracleimg.com/us/assets/oralogo-small.gif'}.
    The strange thing is, that works fine for HTML Output and Excel output, but not for Word and PDF (why it does work for Excel and not for Word is very mysterious....). And of course I need a PDF output.
    I also tried to embed a FO snippet:
    <fo:block>
    <fo:external-graphic src="url:{'http://www.oracleimg.com/us/assets/oralogo-small.gif'}" />
    </fo:block>
    But that doesn't (seem to) work on any output...
    But
    <fo:block>
    <fo:external-graphic src="D:\Users\rhartman\Documents\PrintScreen Files\Screenshot004.jpg" />
    </fo:block>
    does produce the image on the PDF output.
    So who has an idea how to solve this issue?? You'll be rewarded with a lot of pionts ;-)
    TIA
    Roel

    Hi Carsten
    That was exactly* I was looking for. Maybe I should Google more in German ;-)
    The main problem was that I defined my image outside the first repeating group (that doesn't repeat, it's always just one object) - the first group is followed by 7 more.
    Just like the "Name" (that's positioned outside the group in the document header), I positioned the image above the table representing the group.
    Doing that, the "Name" is filled correctly, the Image only when the Output Format is Excel or HTML - not Word or PDF ... makes no sense but that's tje way it is.
    After moving the image inside the group....it works great!
    (One more thing...the image size is fixed to the image you use as "dummy". Is there any way to make that more flexible, because now some scaling happens...)???
    @Trent: That was the way we initially did it, but when the size of the row exceeds 32K...you know what happens.. And even with a small image the 32K limit is hit easily
    The way I use it now (very similar to Carsten's description) there is no limit....
    Thank you all!
    Roel

  • Dynamic image report not working

    Hi,
    I am trying to create a report which has a dynamic image.
    - the report has
    a parameter: {?image_path}
    - user specifies the image location (ie. c:\image1.png)
    - the report take the image location as a parameter and change "graphic location" of the picture object.
    The following works fine in Crystal Report 11 R2, but not in .net application.
    I checked the passsed parameter value by displaying it, and the parameter value was correct.
    does anyone know why the picture object is not updated based on the value of parameter?
    Thanks,

    If you are using IIS on your local machine then that does not necessarily mean that the application has access to the root of the C drive (or your image folder).  Depending on the version of IIS you are using (IIS5 on XP and Win2k) or IIS6/7 on win2k3/2k8 there are different possibilites.
    I'll assume Windows 2003 server.  Here permissions of the application are determined by the application pool that the application is running under.  Typically this will be the 'Network Service' account which would not likely have permissions to all of the files and folders on your machine.  An easy test (to find out if its permissions) is to change the Identity used by your application pool from 'Network Service' account to the 'Local System' account, which should have access to most folders on your machine.  If this works, then its a permissions issue.
    If you are running the application directly from the Visual Studio IDE and you created your website as a 'File System' web site, then it will not use IIS but rather a personal web server called WebDev.WebServer.exe.  If this is the case, you'll see that executable in Task Manager.  This process will run under your currently logged on credentials and should have full access to the file system as would Crystal Reports designer or any Windows application you run.  If images still do not show up in this case (or the case of IIS running under the Local System account, then the next possibility is that you do not have CrystalImageHandler set up correctly in your application's web.config file. To make sure this is set up correctly then you will need to set this up as described in the [Crystal Reports Developer guide|http://help.sap.com/businessobject/product_guides/cr2008V1/en/crsdk_net_dg_12_en.zip]
    If you download this help file, search for "web.config" and look at the CrystalImageHandler section.
    If you are on Win2k8 using IIS7, then you will need to run your application pool in 'Classic' mode rather than 'Managed Pipeline' mode in order for dynamic images to show properly.
    Dan

  • Change image size dynamically in BIP report

    Can we change the size of image dynamically in bip report. If yes can I get some doccument or samples on it.
    Thanks
    Aj

    I am doing small POC
    I have a rtf template with three sample images on it with three different sizes for 1” by 1” , 3” by 3” and 5” by 5”.
    I have a standard size of 2” by 2” image in my server (Could change size in future depending on req)
    Now when I run the report the template should call the standard image from server and replace the sample images on the rtf and show the the standard image in three different sizes.
    Pls let me know if i am missing something

  • Crystal Reports XI R2 SP4 Dynamic Image link not shown through forward prox

    Hello,
    I've installed crystal reports XI R2 on a server which accesses the internet through a forward proxy.  I've created a sample report with a dynamic image link.  When I preview the report, the image shows up blank.  I am able to browse to the image using IE. 
    Further, using the same report on our lan machine (no proxy), works fine.  Any help you can provide is appreciated.
    Regards,
    Sujee

    Hi,
    It seems that Crystal Reports does not support accessing images through a proxy configuration.
    Hope this helps.

  • Dynamic image in the template builder plug-in does not work

    Hi all,
    The documentation says:
    Direct Insertion
    Insert the jpg, gif, or png image directly in your template.
    +...This works obviously+
    URL Reference
    1. Insert a dummy image in your template.
    2. In Microsoft Word's Format Picture dialog box select the Web tab. Enter the following syntax in the Alternative text region to reference the image URL:
    url:{'http://image location'}
    For example, enter: url:{'http://www.oracle.com/images/ora_log.gif'}
    +...This works too when I hardcode an url as url:{'http://www.google.com.tr/images/firefox/mobiledownload.png'}+
    Element Reference from XML File
    1. Insert a dummy image in your template.
    2. In Microsoft Word's Format Picture dialog box select the Web tab. Enter the following syntax in the Alternative text region to reference the image URL:
    url:{IMAGE_LOCATION}
    where IMAGE_LOCATION is an element from your XML file that holds the full URL to the image.
    +...This, however, does not work.+
    I use Apex' report query tool and My query is like
    select 'http://www.google.com.tr/images/firefox/mobiledownload.png' IMAGE_LOCATION from ... (a single result set for my template)
    the xml data is generated with an IMAGE_LOCATION tag. I load it to word template plug-in. The Url successfully displays in the report if I make it a plain-simple field.
    But when it's in the image format->web->alt text as url:{IMAGE_LOCATION} no image displayed.
    I need to keep this design procedure simple so a simple word user could design a report via using just template builder plug-in. I don't wish to explore the xsl-fo area...yet.
    Could you tell me why I can't get this url:{IMAGE_LOCATION} to work?
    Regards
    PS: My BI version: 10.1.3.4.1
    Edited by: oeren on Jun 8, 2011 12:28 AM

    Oeren,
    I stumbled across this little tidbit buried in the BI Publisher forum: Dynamic Images in rtf
    Glad you are up and running!
    Joshua

  • Dynamic Image Displays Blank When Using In Visual Studio Project

    I am trying to simply display a dynamic image in a report. I am using Crystal Reports XI Release 2.
    I have two different environments: Local via Progress where reports are called using Crystal Viewer ActiveX, and over the web where reports are called from Open Laszlo and Visual Studio project.
    The image is set to a blank image as default, and Graphic Location Forumla loads the image from the database (site.logo_location + site.logo_filename) which results in an image http:
    www.vetinfo3.com\a.jpg.
    When I run the reports locally using the ActiveX control, it works just fine and displays the image.
    When I run over the web using OpenLaszlo, it displays a blank.
    Troubleshooting
    We are using Visual Studio 2005, which is bundled with an older version of Crystal that doesn't support dynamic images.
    To address this, I loaded Crystal XI Release 2, which updated the version in Visual Studio and enabled the Graphic Location formula field on the dev machine.
    I verified the Graphic Location field was set correctly.
    This caused a Version error, so we loaded cr_net_2005_mm_mlb_x86.zip on server and specified the Version in web.Config.
    No errors now, but when I build and publish the code, the image still displays as blank.
                From Fiddler
                   GET http://www.vetinfo3.com/mdsol1/CrystalImageHandler.aspx?dynamicimage=cr_tmp_image_c5d6a923-293b-4f1e-8739-4e698f83b087.png
                   Creates C:\Documents and Settings\Curtis\Local Settings\Temporary Internet Files\Content.IE5\PWRUX2XW\CrystalImageHandler[1].png
                   Blank Image
    According to issues within Visual Studio, they say the fix to this is to add the <httpHandler> in web.Config, but it is already there; added when we add the viewer to the project:
    In web.Config I have some questions about this line:
        <httpHandlers>
          <add verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=11.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
        </httpHandlers>
    There are more service packs for Crystal XI Release 2:
    crXIr2sp2_net_server_install.zip
    crXIr2sp3_net_server_install.zip
    crXIr2sp4_net_server_install.zip
    I have not loaded these yet, but the readme files do not indicate they fix any dynamic image issues.
    I am out of ideas on this; does anyone have any ideas?

    What about if you take OpenLaszlo out of the picture? E.g.; use one of our samples from here;
    https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsfor.NETSDK+Samples
    I'd recommend vbnet_web_simplepreviewreport
    Also, see [this|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0437ea8-97d2-2b10-2795-c202a76a5e80] article.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • Displaying image in report

    I'm new to CF Report Builder and having trouble determining
    how to get a dynamic image to display in the detail band. The query
    for the report correctly returns the image file name, but the
    following expression doesn't display the image although the path is
    correct.
    IIf(query.image NEQ "", DE("../images/smProds/" &
    query.image), DE("None"))
    When I run the report, I get just .. in the space where the
    image should display if one is available and the text "None" if the
    field is empty. I found a tutorial on Report Builder that suggested
    using similar code, but it didn't provide an actual example. Using
    their code produced the same lack of results.
    I've tried various versions of this with no success yet. Am I
    missing something about how to include an image in the report? A
    static image in the report uses the same basic path information. Of
    course that image name and path aren't being generated from an
    expression, it is just an inserted image and it shows up in the
    header and footer bands as expected.
    Thanks for any guidance.

    Thanks for the response. Sadly yes, the path is correct. I've
    tried both the relative path and the full path (e.g.
    ../images/theimage.jpg and
    http://mysite.com/images/theimage.jpg)
    . Putting either address into a browser will return the correct
    image if I'm in the right location.
    So, I can get this expression: IIf(query.image NEQ "",
    DE("../images/smProds/" & query.image), DE("None")) to display
    the correct path, but what I really need is the image located at
    that spot to display in the report. What is happening is that
    report builder is returning the string, but not the image. When I
    looked at the tutorial it implied that the image would be displayed
    rather than the string.
    Is there something in report builder that determines whether
    the actual image is displayed? A property setting that I'm missing?
    Or maybe the expression iteself is wrong i.e. it is doing exactly
    what it should (display the string) and a different expression
    format is required to get the image iteself. For example, flagging
    some text as a hyperlink to the image? Not sure how you would pass
    the image name value in that case.
    Appreciate your suggestions.

  • APEX - BI publisher dynamic image not shown

    Hi,
    I've developed a BI RTF report layout within my APEX application.
    I need to show external dynamic images stored into apex image files, but I have some problem.
    BI manul says I should include into the report layout a dummy image with the following text:
    url:{IMAGE_LOCATION}
    where IMAGE_LOCATION is an element of the XML file having the image url.
    When I run the report the image is blank although the IMAGE_LOCATION has the right url.
    I tried to add another image with alt text url:{'image url'} and it is correctly shown.
    I'm shure that IMAGE_LOCATION is right, because it's also shown in report as text.
    How can I resolve this?
    Thx
    Davide

    perhaps they can help you in here: BI Publisher

  • Dynamic Image Location in JRC

    <p>Hi !</p><p> </p><p>We are interested in using so called dynamic image location future in JRC. So far we are unsucessful, so the question is, is it supported in JRC ? We are able to get dynamic image location future working in report designer, but when our report is exported there is no image only path to it. </p><p> </p><p>We use Crystal Reports 11 R2, Java Reporting Component in JSP version.</p><br /><p>Mac</p>

    I have a couple of reports working with dynamic images. CR4E doesn't support this (yet?!?), but you can still do it with the JRC. The big kicker is the syntax of your URL. If you're using a static image on a server somewhere, it should work with no problem. However, if you're using a generated image, it's a little trickier. I discovered this when I was creating a report with barcode labels. The barcodes were not getting generated. I turned on debugging and found that the JRC was screwing up my url. The url was as follows http://myserver/barcode?message=12345 67890&format=datamatrix.
    In the logs, the JRC said it couldn't find an image at the url
    http://myserver/barcodemessage=12345+67890&format=datamatrix. It was stripping out the ? in the url, which is kind of an important character to say the least. I messed around with it and eventually found that if I just put ?? instead of ?, the image would display correctly with the JRC. Hope this helps! If not, post what version of the JRC you're using and the URL you're using for the image location.

  • Displaying a dynamic image using a PDF file.

    I am trying to find a way to display an image dynamically in my report.  The image happens to be .pdf  I have Crystal Reports  XI and I have the graphic location formula completed "
    10.93.138.250\Production\ProdOut\00\" & {Order_Record.URN_text} + "_p1.pdf" however it tells me PDF is not supported.  Is there a way around this?

    I have to agreed that what you are saying appears to be true from my attempts at getting .pdf files to work dynamically.  Using .bmp and .jpg files seems to work just fine but not .pdf, .xls, or .doc.
    In the Users Guide, in chapter 16, in the section titled "Working with static OLE objects" - it only talks about the picture type formats you mentioned and metafiles.  Later in this section is where it explains how to make a static OLE object dynamic.
    While it doesn't specifically say it won't work for other types - it sure doesn't seem to.  I see no reason why this should be true however!  Certainly Crystal appears to be set up to allow this and the fact that the objects are not images shouldn't matter.  Why is there a picture tab and a conditional formula button next to the graphic location label on the object if it can't be used?
    I'm trying to do something similiar to Carey.  I have maps to customers in a customer list and they are in .pdf files.  The location of the map is stored in the database.  I'm putting together a report of service calls and I want to print the map with each call.  It looks like I'll have to convert several thousand .pdf files to .jpg - that should be fun!
    Any chance this limitation will be eliminated sometime soon...
    Edited by: Randy Walter on Oct 2, 2008 6:40 PM

  • Dynamic Images in webi

    Hi all,
    My report needs dynamic image changes.
    My issue is i was taking images using boimg://myimagename.jpg.
    defaults images such as skin_bo are coming on the report .but images which i inserted to it manually dose images i am not able to
    display on the report.
    So can u help me on this....
    Regards,
    Sam

    Run time Image Display in the Webi (Business Objects_)
    Step 1
    For example field name [Item No] :110000001 then Image file name should be 110000001.jpg
    Copy the image files into the following path in the BO server.
    C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\images
    *Make sure folder have enough permission to access it from client pcu2019s
    Step 2
    Open new report and create a new variable called ItemPicture with the following formula
    ="boimg://"+[Item No] +".jpg"
    Step 3
    Drag the variable to report
    Set the Display property of the variable
    Read Cell Content As : ImageURL
    Refresh the report
    Regards,
    Shiyas

Maybe you are looking for

  • Early 08 Mac Pro Airport Trouble

    Hi all, I ran into a slow internet problem on my early 08 Mac Pro (x x 2.8 GHz Intel Xeon, 4 GB DDR2). I've had it hooked up to internet via ethernet cable for about a year now and everything was fine. Last week, I moved the computer to a sunnier roo

  • Crystal Reports Server 2008 (Linux) - Crystal Reports/MySQL/ODBC Issue

    Hello, I have successfully installed CRS '08 on a Red Hat Enterprise Linux 4 server.  All services run fine. In the CMC, I have uploaded a Crystal Report that connect to a remote MySQL server.  I have installed the My SQL ODBC 3.51.11 and .12 Drivers

  • Question about using uuid in kernel boot argument

    Have my root partition on sda3 with uuid-> 81222792-bd9f-47d6-8d28-b4b59d93cbac Grub is able to boot if I use either: root=/dev/sda3 or root=/dev/disk/by-uuid/81222792-bd9f-47d6-8d28-b4b59d93cbac But not by using: root=UUID=81222792-bd9f-47d6-8d28-b4

  • Warning messages with the option to continue or cancel

    I am fairly new to the world of JSF and I need to have the ability to present a warning to the user, and allow them the option to continue or to cancel. I need to do this via a message on the page with a link rather than a javascript alert box. The b

  • New LCD Screen on Satellite 110CS

    Hello to all, My problem is that i have an EPIA M1000G LVDS motherboard and i am trying to connect and old 11.3" SHARP LCD from a Toshiba 110CS laptop i had in my basement and wanted to build with these stuff a similar computer like the HP All-In-One