Display an image blob in a report and form

Hi all

Can someone help me. I have a deadline after two days and I want to remedy as soon as possible.

I use the Application Express 4.1.1.00.23.
My problem is in the display of an image extracted from a table. In my table, I created these fields to download the image:
'IMAGE' BLOB,
"MIME TYPE" VARCHAR2 (255),
VARCHAR2 (400) "FILENAME."
DATE OF THE "IMAGE_LAST_UPDATE."

They have been downloaded successfully. Then, I created a report to select all the attributes of the table. The BLOB attribute displayed as (type of data not supported).
and when I connect this report to shape, the image appears as a link (< img src = "apex_util.get_blob_file? 50435; s = a = 293574445128601 & p = 29 & d = 65102984724474793498 >")

I'll be very grateful if someone tell me how to display the image in the table and the form.

Thanks in advance,
Sara

>

Please update your forum profile with a real handle instead of '941348 '.

Hi all

Can someone help me. I have a deadline after two days and I want to remedy as soon as possible.

I use the Application Express 4.1.1.00.23.
My problem is in the display of an image extracted from a table. In my table, I created these fields to download the image:
'IMAGE' BLOB,
"MIME TYPE" VARCHAR2 (255),
VARCHAR2 (400) "FILENAME."
DATE OF THE "IMAGE_LAST_UPDATE."

They have been downloaded successfully. Then, I created a report to select all the attributes of the table. The BLOB attribute displayed as (type of data not supported).
and when this report forms a link to a image is displayed as a link (< img src = "apex_util.get_blob_file? 50435; s = a = 293574445128601 & p = 29 & d = 65102984724474793498 >")

I'll be very grateful if someone tell me how to display the image in the table and the form.

See doc.41/e21674/advnc_blob.htm">+About BLOB support in forms and reports.

There is a tutorial OBE which followed the introduction of the declarative BLOB support in 3.1 as well. (An earlier version, but it is still relevant for APEX 4.x.)

(Please make an effort to check out the documentation and search carefully on the forum for the previous coverage of a topic.) "This is a much discussed question.)

Tags: Database

Similar Questions

  • Display an image BLOB in a report of the APEX

    Hello

    I have a BLOB column in a table that contains an image I want to display in a report.

    The table definition for the table (MAG_IMAGES) that I store the BLOB in is:

    CREATE TABLE 'MAG_IMAGES '.

    (NUMBER OF 'MAG_IMAGE_ID',

    VARCHAR2 (200) "NUMERO_IMAGENOM_IMAGE."

    BLOB "CONTENT."

    'MIME_TYPE' VARCHAR2 (1000).

    NUMBER OF "DOC_SIZE."

    'CONTENT_TYPE' VARCHAR2 (1000).

    VARCHAR2 (20) "DISPLAY_AREA."

    TIMESTAMP 'LAST_UPDATE_DATE' (6).

    ENABLE 'MAG_IMAGES_PK' CONSTRAINT PRIMARY KEY ('MAG_IMAGE_ID')

    )

    /

    It's the Vendor_Group Table where I store the Image_Id.

    CREATE TABLE 'VENDOR_GROUP '.

    (NUMBER OF 'VENDOR_GROUP_ID',

    VARCHAR2 (100) "VENDOR_GROUP_NAME."

    "IMAGE_ID" NUMBER

    ENABLE 'VENDOR_GROUP_PK' CONSTRAINT PRIMARY KEY ('VENDOR_GROUP_ID')

    )

    /

    I created the following procedure IMAGE_DISPLAY, which I have from a previous discussion forum.

    create or replace PROCEDURE image_display (p_image_id number)

    AS

    l_mime VARCHAR2 (255);

    l_length NUMBER;

    l_file_name VARCHAR2 (2000);

    l_content BLOB;

    BEGIN

    SELECT content, Mime_type DBMS_LOB.getlength (content)

    IN l_mime, l_content, l_length

    OF mag_images

    WHERE mag_image_id = p_image_id;

        

    OWA_UTIL.mime_header (NVL (l_mime, "application/octet"), FALSE);

    HTP.p ("Content-length: ' |") l_length);

    OWA_UTIL.http_header_close;

    WPG_DOCLOAD.download_file (l_content);

    EXCEPTION

    WHEN OTHERS RAISE.

    END image_display;

    I then create a region of APEX report with the following source:

    Select a.group_product_list,

    ' < img src = "image_display? p_image_id =' | NVL(a.image_id,0) | "" height ="" | 100. "" / > "photo

    vendor_group a, mag_images b

    where image_id = b.mag_image_id (+)

    and mag_vendor_id = 2;

    The Image does not appear, but it looks like this below. I put the column attribute 'Standard report Column '.

    BLOB_Report.png

    Can someone please tell me what I'm doing wrong?


    Thanking you in advance


    Dominic

    Dominic Dovale wrote:

    Hello

    I tried to recreate the region from scratch, even in another page altogether but still no luck.

    If I run the report without defining the column in a BLOB with its attributes (MIMETYPE column, Table etc.), he does not fail, but returned the following, which is of course the length of the BLOB. The problem only occurs if I set the attributes. Any other suggestions?

    Include MAG_IMAGE_ID as a hidden column in the report.

  • How to display an image blob at the top of the RTF model.

    Hello

    I want to display an image blob (company logo) in my RTF model

    My problem is how can I display this image in the header of the template.

    I tried this

    <?

    < fo:instream - foreign-object content-type = "image/jpeg" >

    < xsl: value-of select=".//LOGO"/ >

    < / fo:instream - foreign-object >

    ? >

    but failed

    Thanks in advance.

    I tried this

    <>

    ?>

    but failed

    course

    What is red elements?

    model you can be like

    ... of data...

    (after all data)

    (as a field)

    (in the header/footer)

    a few comments https://oralublog.wordpress.com/2014/10/04/bi-publisher-11g-footers-and-headers-in-rtf-template/

  • Option to search for a page of REPORT AND FORM.

    Hi friends,

    In the sample applications AnyCo Corp (2 days + dev Guide).
    I've created a report on OEHR_DEPAPTMENT and there is a default SEARCH option.
    But when I created report and form on the SEARCH option OEHR_DEPAPTMENT is finished.
    How can I include return this feature?


    Thank you very much

    Hello

    You must do three things:

    1. create a new page element. This should be an area of text and added to the area that contains the report. Can select something like P1_REPORT_SEARCH.

    2. create a new button on your page. This must be created in the position of "Create a button displayed among the elements of this region" so that it can be placed next to the text box. When you create, you must also have created for you a new branch that points to the same page.

    3 - update your SQL statement to include a filter based on the content of the text box following in the State. Something like:

    SELECT...
    FROM oehr_departments
    WHERE instr(upper(department_name),upper(nvl(:P1_REPORT_SEARCH,department_name))) > 0
    

    Andy

  • Run the report and form 12 c

    Hello

    As in D2k we where using ifrun.exe to run the Oracle report and form module giving a parameter, in the form of 12 c and point out how we're going to run the package.

    In the ifrun.exe target us where giving as

    C:\ORANT\BIN\ifrun60. EXE C:\ERP\ERP\ERPMODULE. FMX erp/erp@erpksy

    Sandy

    Please see the documentation.  Windows 10 is not a certified platform.  The installation program performs a check to determine if the platform you are installing on is acceptable.  Probably, he sees that you're on Win10 and exits.

    Reminder, the basic steps to install are the following (don't forget first install Windows loopback adapter if the machine doesn't have a static IP):

    1. install the JDK 8U51 + (x 64)

    2. install WLS Infrastructure 12.2.1

    3. install the forms/States 12.2.1

    4. run the repository creation utility (RCU)

    5. run the Setup Wizard (to create the domain)

    6. start the WLS Node Manager, Server Admin and WLS_FORM.  If Windows, you must use a DOS shell with administrator privileges to do this commissioning initial.  Otherwise will result in the field not be created properly.

    Guides to the system requirements and the Installation Guide is located in the library of Doc here:

    http://docs.Oracle.com/middleware/1221/formsandreports/index.html

    The matrix certification can be found here:

    http://www.Oracle.com/technetwork/middleware/Fusion-Middleware/documentation/FMW-1221certmatrix-2739738.xlsx

  • Find custom oracle reports and forms

    Hi all

    I would like to know the names of the tables where I would be able to find all the oracle forms and reports?

    Thanks in advance,

    Hello

    I would like to know the names of the tables where I would be able to find all the oracle forms and reports?

    FND_FORM for FND_CONCURRENT_PROGRAMS for reports and forms. More details on these tables can be found at the eTRM site.

    Kind regards
    Hussein

  • Display an image BLOB in a browser

    OK, I have a table that stores the JPEGs as BLOB Oracle. What I want to do is to read one of these BLOB and display it on a web page. Seems simple.

    The problem is that I can not all first convert the BLOB to a file with UTL_FILE. The image will not be considered as the whole of the content of the page either, it must be in line with any other text content. Our system has a back end of PL/SQL that generates all the HTML code. The Oracle 10 g, pl/sql database is 10.2.0.4.0. The only other technology that can be used is javascript on the client side.

    Is it still possible? I have been stood up by this problem for some time and would appreciate any help I can get.

    Thank you

    Our system has a back end of PL/SQL that generates all the HTML code.

    East - the APEX or based HTMLDB? If so, you can use a procedure such as

    CREATE OR REPLACE procedure download_my_file(p_file in number) as
        v_mime  varchar2(255);
        v_length  number;
        v_file_name varchar2(2000);
        Lob_loc  BLOB;
    BEGIN
        select mime_type, blob_content, name,dbms_lob.getlength(blob_content)
            into v_mime,lob_loc,v_file_name,v_length
            from file_subjects
            where id = p_file;
                  --
                  -- set up HTTP header
                  --
                        -- use an NVL around the mime type and
                        -- if it is a null set it to application/octect
                        -- application/octect may launch a download window from windows
                        owa_util.mime_header( nvl(v_mime,'application/octet'), FALSE );
    
                    -- set the size so the browser knows how much to download
                    htp.p('Content-length: ' || v_length);
                    -- the filename will be used by the browser if the users does a save as
                    htp.p('Content-Disposition: attachment; filename="' || v_file_name || '"');
            -- close the headers
                    owa_util.http_header_close;
            -- download the BLOB
            wpg_docload.download_file( Lob_loc );
    end download_my_file;
    
  • Reports and forms Oracle 12 c

    Hello

    It is nice to see again Oracle 12 c similar as Developer 2000. I have a few Questions can you please help me understand.

    1. how to Setup Oracle 12 c forms and offline on laptop computer with the operating system Windows 10 as independent when away from server to develop forms and reports.

    2. time Oracle Forms 12 c and reports are installed on Windows Server 12R2, how the desktop users will gain access to forms.

    Sandy

    First, I will begin by saying that Windows 10 is not yet a certified platform.  Therefore, if you decide to use it, understand that some things may not work properly and Support of Oracle isn't able to help you.

    Second, it is recommended that you read (or at least review) the product documentation before diving too deep into what either.  Many of the likely questions will be answered in the docs.

    FMW12.2.1 product certification:

    http://www.Oracle.com/technetwork/middleware/Fusion-Middleware/documentation/FMW-1221certmatrix-2739738.xlsx

    Forms and reports 12 c Documentation Library:

    http://docs.Oracle.com/middleware/1221/formsandreports/index.html

    About your comments, here are my comments:

    It is nice to see again Oracle 12 c similar as Developer 2000.

    I guess you are referring to the fact that v12 now offers a "Form Builder Only" installation option.  This option installs the form builder and related utilities. It does not install runtime components.

    How to configure Oracle 12 c forms and reports on the laptop with Windows 10 system of independent when operating away from server offline to develop forms & reports.

    As mentioned, the Win10 is not yet supported, so consider that Oracle Support may not be able to help if problems arise.  If you have decided to install the generator option of form only, developers need to access remote servers in order to test their applications.  As would be the case if you have not installed a database on the developer's computer.  If the developer machines are not connected to a network, it will be necessary to have a database and complete installation of FMW on their machine in order to run the applications they develop.

    Once Oracle Forms 12 c and reports are installed on Windows Server 12R2, how the desktop users will gain access to forms.

    I'm not sure that understand this issue.  If you're referring to end users (not developers), it's the same accomplished as it has always been in the past. For example:

    http://remoteServer:port/forms/frmservlet? shape =

    More on how to do to run a form is covered in the documentation that I mentioned above.  Specifically, see the Oracle Forms (Chapter 3) Deployment Guide.

  • Oracle Fusion Middleware 11g R2 installation problem reports and forms

    Hi all

    I am installing Oracle Fusion Middleware 11 g R2 forms and States (install version 11.1.2.2.0). It gives me following error by specifying various 'installation locations"(step 5):

    INST-07248: rental house Middleware specified is not a valid location (for the location of the Middleware Oracle home: C:\Oracle\Middleware\Oracle_Home)

    INST-07248: rental house Weblogic specified is not a valid location (for the location of the Weblogic Server: C:\Oracle\Middleware\Oracle_Home\wlserver)

    I installed WebLogic server worm 12.1.2.0.0 in these places. No idea how to do this setup forms and reports program recognize Weblogic version 12.x OR should I install ver Weblogic 10.3 only to work? (The value in the Weblogic Server location field to step "Install location", by default Weblogic 10.3 worm).

    Thanks in advance for your answers.

    Kind regards.

    Girish

    WebLogic 12 c is not certified with forms & reports 11.1.2.2.

    You need to install the earlier version 10.3 (10.3.6).

    Control of certification matrix:

    http://www.Oracle.com/technetwork/es/middleware/docs/Oracle-Forms-111220certmatrix-2087910.xls?ssSourceSiteId=otnen

    Concerning

  • Failed to configure reports and forms Oracle 11 GR 2

    Mr President.
    I have Oracle 11 g db installed on my laptop.
    I have Windows 7 Home Premium 64 - bit installed on it.
    I installed the server version Weblogic 12 c (12.1.1) using the generic.jar in console mode installation program using the command
    Java-Xmx1024m-jar wls1211_generic.jar

    Having correctly installed weblogic server and also have created a domain.
    Now, I try to install Oracle Forms and reports 11g R2 on this machine...
    Have downloaded the 64 bit version...
    The same is installed, but stops on the configuration of the screen and everything is not going further.

    The tnsnames.ora file must reside in the ORACLE_INSTANCE\config directory

    Hope this helps you :)

    If someone useful or appropriate please mark accordingly.

    Concerning
    Carlos

  • 10.1.2 OAS reports and forms infrastructure without database

    Hello!

    I read in the documentation of oracle that there instalation of oracle forms and reports with infrastructure but without storing files only repository database. Anyone know? Where can I find this kind of instalation?

    Greetings - Marcin

    See http://www.oracle.com/technology/software/products/ias/htdocs/101202.html and look for the forms & reports Services standalone

  • How can I determine which is selected in a report and form the appication

    I have the need to choose what is selected, for example the primary key that is selected in the first form.
    Thank you
    Doug

    Hello

    I think this can be done using a "sweater in the region." Take a look on: [http://apex.oracle.com/pls/otn/f?p=48982:1] sorting on the second page won't work, but otherwise you get a copy of the report from page 1 exactly as the user he had before clicking on the link for an article.

    Andy

  • How to use the concepts Advanced PL/SQL in oracle reports and forms

    Hi all

    Can anyone suggest me how to use the Concepts(nested tables,PAA,Varrays,Objects...) Advanced PL/SQL in Oracle forms.

    In fact, I created a Table whose column of type Varray. now, I want to create an element in oracle forms on this field. can anyone suggest me how to proceed.

    Thank you
    Kumar

    Hello

    Take a look at this one:
    http://SheikYerbouti.developpez.com/tutoforms10g/tutoforms10g.htm
    especially the chapter on the block that contains a collection of (2.3.3). The sample is built around a nested table, but you get the idea to adapt to work with a varray.

    Kind regards
    Alex

    If someone useful or appropriate please mark accordingly.

  • What is the shortcut to display the image and a mask?

    Dear pixelbenders,

    There is a shortcut to display the image below with a screen and a mask; It is q and involves the backslash.

    Can't remember what it was.

    When you have a situation like this, go to the help with shortcuts and search page

    https://helpx.Adobe.com/Photoshop/using/default-keyboard-shortcuts.html

  • Evolution of the values displayed in the report and the form editing window

    Hello experts,

    I need some advice...

    I have a simple little application that shows a table (report and form).
    Now my table has values where I can edit these values.

    What I do is when I click on icon small change, I need to change the existing automatically without the user to manually change them.

    How can I do it please?

    Thank you

    Published by: Kevin CK on March 19, 2010 12:23 AM

    You can do this with a process Page or javascript. Depends on your specific needs.

Maybe you are looking for

  • XP SP3 makes slow Tecra S5

    With the original Windows XP SP2 installation my laptop (Tecra S5) works very well, but as an example Card SanDisk Extreme 4 GB SD was not detected in the SD card slot. I could only use this card with a card reader device that was connected via USB.

  • BlackBerry smartphone how to change the server password

    Hi, yesterday we changed the password on the server.  Since then, I have a couple of 9300 Blackberry's that no longer work.  I think I need to go to the blackberry and the change of the password but Im not sure what are the options that I have to go.

  • How can I run Intellipoint Set Up?

    An error message came up saying: installation to remove the Intellipoint software, and then run intellipoint Setup... I went to programs and intellipoint uninstalled, but do not know how to run the Intellipoint installation...

  • I no longer see links only on a single file

    Under windows the link no longer appear the list link to act on them. This occurs only with a file and not with others. How can I solve the problem? Thank you.

  • [Solved / resolved] Look And Feel (LAF)

    Buenos dias, tardes o noches muchachos! Explico a poco el tema: results as I am using United Nations LAF (Look And Feel) of manera mas especifica Synthetica BlueLight look and feel http://www.javasoft.de/synthetica/themes/Pero cuando ejecuto por prim