Showing dynamic images in BI Publisher PDF report

I defined a layout of report in BI Publisher RTF. Almost done, but a lack of requirement...
I should be able to include a dynamic image (so each 'object' on the report has its own image).
Initially, I integrated the image base64 converted in the XML output, but then I'm running in the 32 K limit. (Small images make it very well).
Although Marc Sewtz kind of promised in June 2008 (!): "a problem that we will address in the next version of Application Express, is the limit of 32 k on columns of the report." 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 the documentation of BEEP), incorporating a dummy image and then assign the 'Alt text' image
(for example): url: {'http://www.oracleimg.com/us/assets/oralogo-small.gif'}.
The strange thing is, that works very well for the release of HTML and Excel output, but not for Word and PDF (why it doesn't work for Excel and Word is very mysterious...). And of course I need a PDF output.

I also tried to incorporate an excerpt from FO:
< 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 not produce the image on the PDF output.

So who has an idea how fix this problem? You will be rewarded with a lot of stores ;-)

TIA
Roel

Hi Roel,

Some time ago I posted a paper on that in the German community of the APEX.
http://www.Oracle.com/WebFolder/technetwork/de/community/Apex/tipps/PDF-dyn-images/index.html

Inside of a report (table), it worked for me with just url: {IMAGE_URL}

Does this help... ?

Best regards

. Carsten

Tags: Database

Similar Questions

  • Display data BLOB (image) in BI Publisher report - E-Business Suite R12

    Hi all

    As part of the upgrade of the E-Business Suite R12.1.3, I need to develop a report printed in. using MS Word BI Publisher Desktop Plugin. The report must include pictures (signatures) of the resulting database of approvers of requisition.

    How can I create a custom view and a model to use with a RTF report and include dynamic images? Is this possible?

    Thank you
    Sinan

    Yes, it is possible

    Watch the BLOBs to insert in your report

    steps to follow:
    -create with the query with blob data definition (say image) in xmlp
    -create the empty template and load it into an RESP xmlp
    -create a simultaneous
    -concurrently
    -Save the xml
    -use of BI Publisher Desktop with to build xml data model presentation
    -disposition of load to xmlp RESP model

    Another way
    -If os image, you can try using OA_MEDIA + name of the image
    -mos: how to insert Images and BLOB objects dynamically in the Word template or Document? [443957.1 ID]

  • SSRS 2008 SP4 - header or footer of the report contains the dynamic image does not change

    Hello

    Our version of Reporting SERVICES to current production is 2008 (not R2). And we have the problem that the header or footer of the report contains the dynamic image does not change accordingly.

    According to this hotfix, the problem has been resolved in the last SP R2 and we tested, it works.

    https://support.Microsoft.com/en-us/KB/2563216

    So we applied the latest SP to SQL Server 2008, however, the problem persists.

    However, we do not expect to upgrade the SQL Server 2008 to 2008 R2 for the moment.

    Guys have faced the same problem before and has an idea how to solve this problem on SSRS 2008 or any workaround?

    Thank you

    Kind regards

    Dan

    Hi Dan,.

    For assistance on questions related to SQL Server 2008 and SSRS 2008 SP4, ask your questions here:

    https://social.technet.Microsoft.com/forums/WindowsServer/en-us/home

    https://social.msdn.Microsoft.com/forums/en-us/home?category=SQLServer

    Hope the information is useful.

  • Updated BI Publisher PDF after export report

    I would like to know if it is possible for a PDF report created in BI Publisher, update manually after having been exported.

    For example, we will use a webservice in siebel to fill out a report of a certain account. The account manager will have to make a manual change to the report (mark a checkbox) after that the report is exported and sent to the client.
    Is it possible that the account manager can do the update and the report PDF is read-only for the customer.

    Kind regards

    BI Publisher allows you to password protect PDF files with passwords separate read/write - if the account manager knows the password he can update the document while the end user cannot. Generally the formfields are eliminated or put read-only there is also an option to keep and make the modifable. The options are in the configuration/document configutaitn file...

    I don't know what application EBS, Peoplesosft, Standarlone you use - for the stand-alone version that is under configurations.

    Klaus

  • Dynamic image is not showing in FF

    Hi guys
    If you look here:
    http://www.taradiaries.com/ASP/diaries.asp
    You will see a dynamic image and dynamic text next...
    Try here
    http://www.taradiaries.com/ASP/calendars.asp
    And you will see the same thing in IE, but FF, the images are not displayed. I built the two villages of the same way, using the same connection to the DB even. Can someone identify what could be stopping the images showing in FF?
    FYI - I tested it in beta IE 5, 6 and even 7 and all very well. This seems to be the only FF page has problems with.
    As always, thanks in advance.

    Andy

    FreakyJesus wrote:
    > Can anyone place what could be stopping the images showing in FF?
    > FYI - I tested it in beta IE 5, 6 and even 7 and all very well. This seems
    > be the only FF page has problems with.

    As happens so often, Internet explore is catch invalid code.
    Firefox is less forgiving. Just take a look at the source code:

    SRC="\images\thumbs\extremecv.gif".

    The slashes in the path of the image are backwards.

    --
    David powers
    Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    http://foundationphp.com/

  • Add a link to the images in a dynamic Image slideshow

    Hello

    I have a dynamic image slide show. I would like to include a link to the page for each image and pass a parameter (for example. Company_Id). I don't know how or where to do. I guess I should include the code of the link where I build the page P81_IMAGES element. Please can someone advise me how to do this. Also, if I want to have a different transition effect/slideshow style, how would accomplish this?

    My Code is as follows.

    I have a process with the following code where I create a page item with my images (of a collection) I want to display header.

    declare

    cursor c1 is CBC select c001

    of apex_collections

    where collection_name = "CO_IMAGES";

    v_cnt number: = 0;

    Start

    : p81_images: = null;

    for img loop c1

    If v_cnt = 0 then

    : p81_images: =: p81_images | ' < img src = "#WORKSPACE_IMAGES #" | IMG. CBC | "" alt = "Slideshow Image" class = "active" / > ";

    on the other

    : p81_images: =: p81_images | ' < img src = "#WORKSPACE_IMAGES #" | IMG. CBC | "" alt = "Slideshow Image" / > ";

    end if;

    v_cnt: = v_cnt + 1;

    end loop;

    end;

    I have an HTML region where I display the slideshow using the value of element of Page (P81_IMAGES). Source area contains the following items.

    < script type = "text/javascript" >

    function slideSwitch() {}

    var $active = $("#slideshow IMG.active");

    If ($active.length == 0) $active = $("#slideshow IMG:last");

    This allows to take images in their order of appearance in the tag

    var $next = $active.next () .length? $active.next)

    : $('#slideshow IMG:first');

    $active.addClass('last-active');

    $next.css ({opacity: 0.0})

    .addClass ('active')

    . Animate ({opacity: 1.0}, 3000, function() {})

    $active.removeClass ('active last active');

    });

    }

    {$(function()}

    setInterval ("slideSwitch()", 2000);

    });

    < /script >

    < style type = "text/css" >

    / * the value width and height to match your images * /.

    {#slideshow}

    position: relative;

    height: 400px;

    Width: 460px;

    }

    #slideshow IMG {}

    position: absolute;

    top: 0;

    Left: 0;

    z index: 8;

    opacity: 0.0;

    }

    {IMG.active #slideshow

    z-index: 10;

    opacity: 1.0;

    }

    {IMG.last - active #slideshow

    z index: 9;

    }

    < / style >

    < div id = "slideshow" >

    & P81_IMAGES.

    < / div >

    I will really appreciate it if someone can guide me here.

    Concerning

    Dominic

    Dominic Dovale wrote:

    I have a dynamic image slide show. I would like to include a link to the page for each image and pass a parameter (for example. Company_Id). I don't know how or where to do. I guess I should include the code of the link where I build the page P81_IMAGES element. Please can someone advise me how to do this. Also, if I want to have a different transition effect/slideshow style, how would accomplish this?

    My Code is as follows.

    I have a process with the following code where I create a page item with my images (of a collection) I want to display header.

    Generate the URL of the link required as part of the collection (using the URL APEX syntax if the link is to another page in the application). Wrap the img items in the link elements:

    declare
    cursor c1 is select c001 src, c002 url
        from apex_collections
        where collection_name = 'CO_IMAGES';
    v_cnt number := 0;
    
    begin
        :p81_images := null;
      for img in c1 loop
        if v_cnt = 0 then
          :p81_images := :p81_images || 'Slideshow Image ';
        else
          :p81_images := :p81_images || 'Slideshow Image ';
        end if;
        v_cnt := v_cnt + 1;
      end loop;
    end;
    

    and change the IMG elements in jQuery and CSS selectors to a elements:

      
    
      
    
    
    &P81_IMAGES.

    That said, you should probably consider to implement this requirement with a slideshow plugin regionor a classic report with a custom template for a better separation of concerns.

  • Dynamic Image in the XML editor problem

    Hi all

    I was working with a dynamic image in the Xml editor with the reference of this link, step-3

    http://www.erpschools.com/articles/display-and-change-images-dynamically-in-XML-Publisher

    I have three Logo saved in OA_MEDIA with the name as 80.gif, 81.gif, 82.gif.

    I created a formula column outside the Group of data and given the link in the RTF, inside the url of the Image Alt text: {//CF_LOGO1} and his works fine.

    But when I created the formula column in the dataset, how do I give the path inside the image.

    I tried with this url: {...} CF_LOGO1} but his does not work. Could all help with that.

    Thanks and greetings

    Srikkanth M

    Please check if you placed the logo with the Group and the image is called correctly.

  • PDF reports in Unicode Arabic / English.

    Hello

    We face a similar problem in PDF reports in Unicode Arabic / English.

    I'm working on the Oracle 10 g database and application server 10g on windows 2008 in Arab environment platform.
    We need get the menu & right to left on the Arabic mode forms and his come properly.

    Our filed data can contain mixed data like Arabic and English / Arabic full or full English.
    Problem: While taking reports in PDF format, it shows the mixed data (Arabic and English), not the same which is stored
    in the database.

    I made the following adjustments:
    -Oracle NLS_Characterset as AR8IS08859P6 Server
    -Oracle Database registery NLS_LANG as ARABIC_UNITED, UNITED ARAB Emirates. AR8MSWIN1256
    -Application Server registery NLS_LANG as Arabic_Egypt.AR8MSWIN1256
    -policies which create subsets in unicode.ali for PDF

    -police MS san serif is used in reports


    Help, please...

    Thanks in advance
    BJ

    Please, try the following solution to the MOS Doc ID 473513.1

    1. Add the following environment of reports Environment Variable.

    REPORTS_BIDI_ALGORITHM = UNICODE

    or

    REPORTS_BIDI_ALGORITHM = IMPROVED

    Under Windows, you can set them in the registry and on Unix platforms, you can define them in $ORACLE_HOME/bin/reports.sh.

    2. restart the report server.
    3. run the report.

    Thank you

    Sergiusz

  • How to make images orginated table ranked clickable report?

    How do table came from the clickable images to the rank of report?

    Do the small example application with page 4 click img which is IR report showing pictures of the table test_images and v1_test_images.

    The v1_test_images is just seen on test_images that is necessary to seduce the 'blob format' to extract images from the same table on the same report.

    Now, I would like to be able to click on the 'images' in the report and may for example branch to another page etc...

    I know that on the line, there may be a clickable image from the shared components of work/application space images and the image name can be changed with sql.

    But I would like to have multiple images on the same line and those who were taken from the table, as in the sample application.

    workspace: imagetest_ws

    application: 13418

    page in question: https://apex.oracle.com/pls/apex/f?p=13418:4

    user of the developer: guru

    pass: meditation


    rgrds Paavo

    Doesn't seem to be possible to combine the BLOB format masks declarative with standard column links (it looks like a bug). What you can do is to use the apex_util.get_blob_file_src API method to get the URL of the image in the report query:

    ...
      , apex_util.get_blob_file_src(
            'P3_CONTENT'
          , case
              when e.sal > 2500 then 21
              else 41
            end) img1
    ...
    

    and create the link to the image in the HTML column report Expression attribute:

    
    
  • Link column shows no Images

    Hello

    I have a classic report with a column like this:

    Decode (gemischter. BEMERKUNG, null, "< img src =" #IMAGE_PREFIX #1px_trans.gif "> ',' < img src =" #APP_IMAGES #lupe_15.gif "(>') as BEMERKUNG"

    It works very well.

    If I try to add a link to the column for this column then reports shows no images. I use like text link #BEMERKUNG #. ' Display as ' has the value 'Standard report column.

    What's wrong?

    Kind Reagards,

    Mark

    Hello

    I think that's not good add HTML to the query.

    You can try to change your query to

    SELECT
    ..
    decode(orgu.BEMERKUNG,null,'1px_trans.gif','lupe_15.gif') as BEMERKUNG
    ..
    FROM
    

    And place the link column text

    
    

    Kind regards
    Jari

  • ViewPlanner 3.0 device: Questions generation PDF report

    Hello

    I have problems with the Scheduler 3.0 display where it is not automatically generate the PDF report after a race.
    The attached viewplanner.log file shows a series of 16 desktops VDI.  Desktop download it results and the PDF file
    creation seems to start but get the following error:

    2013-08-28 12:18:58, 179 INFO Running query: select distinct
    event_name, AVG (event_latency) from remoteresults where event_name dislikes
    '% rtt' and event_name dislike 'Total-%' and (info_FK < = 16 and info_FK > = 1) event_name group

    Exception in thread Thread-37: Traceback (most recent call modified): file
    "/ usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner

    Self.Run)

    File "/ usr/lib/python2.6/threading.py", line 736, running self.function (* self.args, * self.kwargs)

    File "/ build/mts/release/bora-1229598/performance/viewplanner/Harness/root/listener.py", line 79, completeRunVMs

    File "/ build/mts/release/bora-1229598/performance/viewplanner/Harness/root/shared_data.py", line 1191, in generatePDFReport

    File "/ build/mts/release/bora-1229598/performance/viewplanner/Harness/root/PDFgen.py", line 1242, term

    File "/ build/mts/release/bora-1229598/performance/viewplanner/Harness/root/PDFgen.py", line 541 in Sec4

    UnboundLocalError: local 'MaxIdx' variable referenced before assignment

    Domain controller: Windows Server 2003 x 64

    Broker: Horizon of VMware View 5.2

    Clients: Windows XP SP3

    Computers: Windows 7 SP1 x 64

    Any help would be appreciated.

    Thank you

    Richard

    There has been some problems with the PDFgen script for some configurations. I have attached a new script of reports that you can use (Please replace it in/root/ViewPlanner directory of the harness).

    Python $ PDFgen.pyc '-time-of-the-start test.

    If you still have questions, please let us know.

  • Problem running Oracle PDF reports on EBS

    Hello

    I installed Oracle EBS 11.5.9 and database version 9 on a virtualization computer running IBM AIX 5.3

    If xhost + is not running on the console, reports does not.

    On a non virtualized machine which is the autonomic system, after starting the Oracle database and services (application), one must connect as root on the console and run the command:

    # xhost +.
    disabled access control, customers can connect from any host


    Now, as the machines of virtualization is not a console, as well as the telnet session, how can I use the xhost + command to activate the PDF reports?

    For example try to view the PDF report for active users == > SYSADMIN == > REQUESTS == > RUN == > ACTIVE USERS

    Then, I get this error message:

    ---------------------------------------------------------------------------
    Application object library: Version: 11.5.0 - development

    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.

    Module FNDSCURS: active users
    ---------------------------------------------------------------------------

    Current system time is 9 February 2013 23:42:09

    ---------------------------------------------------------------------------


    +-----------------------------
    | Starting the competitor program...
    +-----------------------------


    Current environment variable NLS_LANG is:
    American_America.AR8MSWIN1256

    REP-3000: internal error from Oracle Toolkit.
    REP-3000: internal error from Oracle Toolkit.

    Generator: Release 6.0.8.20.2 - Production on Sat Feb 9 23:42:11 2013

    (c) Copyright 1999 Oracle Corporation. All rights reserved.

    Enter the user name:
    Program exited with status 1
    Competitor Manager encountered an error when executing Oracle * report for your concurrent request 1908767.

    Review your output request file competitor newspaper and/or report for more information.


    ---------------------------------------------------------------------------


    Options, AutoComplete, the request for enforcement.


    End of query options AutoComplete.



    ---------------------------------------------------------------------------
    Simultaneous request ended
    Current system time is 9 February 2013 23:42:26

    ---------------------------------------------------------------------------



    I did a thorough search on this forum, the Metalink and articles but has not gotten a solution yet


    https://www.Google.com/search?source=IG & rlz = 1G1ASUT_ENUS489 & q=forums.Oracle.com+xhost+%2b & OQ=forums.Oracle.com+xhost+%2b & gs_l = iGoogle.3... 44957.47834.0.49558.9.4.0.5.0.0.258.848.0j2j2.4.0... 0.0... 1ac.1.ys_4zwElWYY



    In the problem summary:

    running xhost + using xmanager on a virtualized machine will not work even if you get the message when you run the command of xmanager
    # xhost +.
    disabled access control, customers can connect from any host

    This is useful information from where I ran the xhost +.


    # echo $DISPLAY
    TestServer:0.0

    Note: testserver is the windows machine I used to connect to the Oracle Machine Xmanager

    # lscons
    / dev/vty2

    Note: the above shows that it is not console - lscons on a console would show as/dev/lft0

    bash - $3.2 cd/oracle/prodappl
    bash - $3.2. ./APPSPROD_test1.env
    bash - $3.2 grep-i $CONTEXT_FILE to display
    < oa_var = "s_display" = "unix" osd DISPLAY > test1:0.0 < / DISPLAY >


    Anyone know the solution for this problem?

    applprod@Test1:/Oracle/prodappl > export DISPLAY = testserver:0.0
    applprod@Test1:/Oracle/prodappl >
    applprod@Test1:/Oracle/prodappl > xhost +.
    disabled access control, customers can connect from any host
    applprod@Test1:/Oracle/prodappl >
    applprod@Test1:/Oracle/prodappl > xclock &
    [1] 675940

    I tried the reports once again and the same error.

    I understand that you were able to run the command xclock, so in this case you must set the value of the variable DISPLAY (testserver:0.0) in the application context file, run AutoConfig and bounce the services again.

    Thank you
    Hussein

  • Dynamic image display

    Is it possible to hide/show dynamically an image on a rtf model based on an XML field value? I want to display my if only image 'PRINT_IMAGE' = 'Y '.

    I tried to put the condition, but it doesn't seem to work.
    < xsl: if test = "PRINT_IMAGE [normalize - space (.)! ="] ">

    Thank you

    I tried with a clip and it worked for me (without having to put it in a table). I sent you an example. Check to see if that helps.

    Thank you
    Bipuser

  • Dynamic image loading problem

    Hi friends,

    I have a problem loading dynamic images. I used JLabel to load the image in label.setIcon get (new method ImageIcon("image.jpg"). But when I make changes to the image and save it with the same name ("image.jpg") it will show any changes of the image showing in get but the image is changed to the location of basic computer. When we restart the application, it displays the modified image.

    If you understand my problem, please guide me to show the image changed without restarting the application.

    835214 wrote:
    If you understand my problem, please guide me to show the image changed without restarting the application.

    You could query the image file every 5-10 seconds to see if it has been modified, then reload If Yes.

  • Dynamic image displays based on Yes / No value

    Dynamic image displays based on Yes / No value

    I´d like to have a picture showing, according to a specific value (y/n)

    .. Sorry need help.

    I have can´t get it workin...

    < img <? PHP $status = "n";

    If ($status == 'y') {}

    "echo"src ="stecker_on.png" alt = "yes" ';

    } else {}

    "echo"src ="stecker_off.png" alt = "no" '.

    } ? > height = "71" width = "101" / >

    The STI image shows not... ideas?

    All I get is a text showing:

    height = "71" width = "101" / >

    Thank you very much!!!

    That error could only say that you implemented my suggestion correctly, or there is a pre-existing error on your page.  The code I gave you is correct.

Maybe you are looking for

  • Satellite U200 - need recovery disk

    Dear friend! I have Toshiba U200, but I lost the disc Reanimator for this laptop. If possible, please send me this disk image. Best regards.

  • Power settings to share media while you sleep

    Original title: sleepless nights in San Diego I experienced all the power settings, equal to share media during sleep and put it in my list active idle is disabled and unavialable... What are you doing to move again and why can't solve this find and

  • My computer keed extinguish uexpectedly.

    My Vista turns off unexpectly.

  • 4402 aPs w / different ssid

    I have WCS and WLC 4402 and want to deploy access points in all the different versions this unique WLC's control. I wish that every building and ap in the building have their own ssid/WLAN. All buildings are connected through fiber to the main campus

  • vCenter 4.1 &amp; ESXi do not seem to communicate

    Hello all,.I worked with ESXi and vCenter for the last 6 months or so, so I'm not an expert. I need help to find how to go about troubleshooting. (Documents, links, KB, anything)I have 4 Dell ESXi embedded running blades. I have a Dell Equalogic iSCS