How to use the image element displayed on the page

APEX 4.0
Oracle-Application-Server-10g/10.1.2.0.0 Oracle-HTTP-Server

Hi all

I have a table that contains 3 columns, see below:
primary key ID
BLOB pic1
Pic2 blog

There is 1 row in it (id = 1), just to display 2 images.

Downloaded 2 pictures above Blob fields by file browse function. Now, I want to show the 2 photos in a region by using the display image P1_AR, but it did not work.
Based on: BLOB Columns specified in item source
Alternative Text Column: null
Filename Column: null
BLOB last update Column: null
Source used: Only when current value in session state is null
Source type: SQL Query(return single value)
Source value or express: select dbms_lob.getlength(PIC) from cp_pic where id=1
I got the error below after runing:
ORA-20999: P1_AR must have a valid BLOB column as a source

Thank you

your help with impatience

Sorry, this demand is in LAN, I have no right to publish on the internet and it has no external IP address to access as well.

Do not import your request directly to apex.oracle.com.

Create a simple application to simulate your question.

  • Create a table that will have a similar table structure that you have.
  • Download images in table
  • Try to use item DISPLAY_IMAGE and see how it goes.

    If it doesn't, then please post workspace/name username/password and request of the details here.

    Kind regards
    Hari

  • Tags: Database

    Similar Questions

    • How to use the Page number in the IF condition

      Hello

      I have an obligation to change the output based on Page numbers. Can you please help me how to use the Page number in IF condition.

      Thank you

      Can u send me a sample xml and RTF file to my email in my profile identification, so that I can have a look.

    • How to refresh an image element displayed dynamically

      Hi all

      This is Pavan,

      I use apex 4.2.3

      try to update an image dynamically, but did not,

      example I use the id selection list depends on the id of the image should be displayed, I used image is displayed to display the image (sql statement returned blob column),

      I created dynamic action on the item to change refresh, but his does not work

      later I thought that change doesn't think so I created dynamic action run plsql code (start null; end ;) the items to send (the select list item) page.)

      still no luck, am I miss anything please let me know.

      Thanks in advance,

      Kind regards

      Pavan

      Pavan says:

      I use apex 4.2.3

      try to update an image dynamically, but did not,

      example I use the id selection list depends on the id of the image should be displayed, I used image is displayed to display the image (sql statement returned blob column),

      I created dynamic action on the item to change refresh, but his does not work

      Display pixels do not support DA update:

      Refreshment - triggers a refresh of the elements concerned. Note that not all elements support a refresh, you can use it for interactive reports, conventional, graphical reports, list view and all types of elements with the LOV support cascading. Plug-ins can support this action as well.

      Display the image using a classic that will allow a DA standard to use r.

    • I have a purchased copy of PhotoShop Elements 9.  When I run it now I get an error message - error: 213:19.  What does that mean?  How to use the software I paid?  Thanks a lot for your help!

      I have a purchased copy of PhotoShop Elements 9.  When I run it now I get an error message - error: 213:19.  What does that mean?  How to use the software I paid?  Thanks a lot for your help!

      See here:

      In Photoshop Elements license error

    • How to use the variable in the path of the source of an image in flex

      Hello
      I just want to know that how to use the variable in the path of the source of an image in flex

      Hello
      I just want to know that how to use the variable in the path of the source of an image in flex

    • How to use the application element in the page template

      How to use the point of application in the page template.

      Thank you

      Rajendra

      I found out the answers, you can use & application_item.

      Thank you

      Rajendra

    • How to use the capture and the print button

      I tried to figure out how to use the capture and the "print" button, or add or what you call. I press it and the whole page of a different color changes, so I try to cut the section I want but I don't know how to send it to the printer. Can someone help me with this. I'm not at savvy with tech stuff, but when I find a recipe or something and it doesn't have an option to print a certain area, I can't understand how to use it?

      Thank you

      Andi Starbuck

      That happens to me is, I click and drag to make a rectangle of yellow selection, and as soon as I raise my finger on the mouse button, the part I've selected is captured as an image, a new tab opens and preview before printing, the image display. I can use the installation of the Page or simply print. But if I close the preview, this temporary image vanishes and I'm back on the page where I started. You see something different?

    • How to use the product with laptop Portege R150 recovery CD?

      How to use the recovery CD product with laptop Portege R150 of Formate and reinstall the operating system?

      Mobile recovery procedure Asian does not for me but may not be very different as on mobile phones produced in Europe or the United States.

      Start your laptop and press F12 to display the boot options
      Place the recovery disc into the optical disc drive
      In the start menu, choose the CD/DVD drive and press ENTER
      The procedure of the facilities is expected to begin
      Follow the menu on the screen

      I do not know what will be shown at this stage, but it is not complicated to install the original recovery image. If you have any other questions please let me know what happens when upgraders begins. What options are displayed?

    • How to use the greenscreen on Imovie 10.1 effect?

      I have no idea how to activate Advanced tools for this version of iMovie, there is nothing in the preferences, how I use the greenscreen / any other adnaced tool such as the image within an image etc.

      I'm on OS X YOSEMITE 10.10.5

      Hello!

      I have finally (!) has found a way to do it!

      You must drag and drop the element above the other, not ON it (like I usually did before). Then the invisible square symbol in the setting bar appears, which allows to choose between the van greenscreen etc.

    • How to use the Qosmio F50 Quad core HD processor in other software

      I would like learn how to use the image processor in other programs in addition to Toshiba Upconvert, transcoding, face Navigation and gesture of the functionality of the control. Someone has an idea? Thank you!

      I doubt that there are software available because the Cell processor is only a hand full of PC.

      If you have applications for creation of media professionals, you can get the plug-in to activate the cell processing.

    • How to use the automatic configuration wizard and where can I FIND?

      How to use the automatic configuration wizard and where can I FIND?

      Hi TannySmedt,

      To activate the Configuration service automatic wireless so it starts automatically, click the Start button. Select settings , then select Control Panel. If you use Windows XP display, select the performance and Maintenance category, and then select Administrative Tools. If you use Classic view, and then select Administrative Tools. In the left pane, click the Services icon. Click the automatic Wireless Configuration icon in the right pane, and change the box Startup Type to Automatic. This parameter will be defined the service starts automatically at boot time. Then click on the Start button to start the automatic Wireless Configuration service zero wireless and click on the OK button.

      The automatic Wireless Configuration can also be started and stopped from a command prompt. To start the automatic Wireless Configuration, run the following command:

      net start wzcsvc

      To stop the automatic Wireless Configuration, run the following command:

      net stop wzcsvc

    • How to use the Microsoft Narrator in Windows Vista

      I would use this feature - just do not know how. Can anyone lead me in the right direction?  Any help is appreciated?

      Hello

      Windows comes with a screen reader called Narrator, which reads text on the screen aloud and describes some events (such as displaying an error message) that happen while you're using the computer.

      You can see the following article on how to use the narrator in Windows Vista.

      Hear text read aloud with Narrator

      http://Windows.Microsoft.com/en-us/Windows-Vista/hear-text-read-aloud-with-Narrator

      I hope this helps.

    • How to use the background rim start page: allowInvokeParams

      Hello

      How to use the element of the rim: background? what it is?

      1. To run javascript? openBISPushListener?
      2. Can you pass parameters between it and the content page?
      3. How to pass parameters between it and the content page?

      It defines a page will be loaded in the background when your application starts.  This page is intended to run any startup logic (for example starting listeners - Push is an excellent example) that your application may need to depend on, without any user interface.

      This background page is WITHOUT user interface.  Any attempt to interact with the user interface (for example change the DOM, calling alert() statements, etc.) will result in no action.  Nor will calls to redirect, since the background page does not interact with the pages of foregroud - if no query string.

      To answer your question - ' How do you pass parameters between it and the content page.  I suggest using a technique of storage like localStorage, WebDB, or same file offline.

    • Using the page submit after elements in the process of treatment page

      Hi all

      I have a form of DML in which the user can update a column.

      After clicking the Apply Changes button that I need to send an email saying the record has been updated with some page elements in the body of the email.

      I am able to send email, but I'm not able to display the page elements in the body.

      After changing the save the session state for the 'yes' also he did not.

      Y at - it another option that must be set so that I can use the page elements in the body of the email.

      Thank you

      MJ

      Make sure that after settlement it is normally a reset page call, is perhaps what kills the variables you are trying to access.  You should put your mail send processes PRIOR to the reset page process...

      Thank you

      Tony Miller
      Los Alamos, NM

    • using the function - how to use the values of the input variables on the table select statement names

      Hello community, I have a problem when creating a function. The purpose of this function is to check the table of weather gave yesterday or not. We must check this on different tables on different sachems. We are creating a function with input variables.

      CREATE OR REPLACE FUNCTION IN_SCHEMA.IS_YDAYDATA_TO_TABLE

      (

      in_schema IN VARCHAR2,

      in_tablename IN VARCHAR2,

      in_datefield IN VARCHAR2,

      )

      RETURNS INTEGER

      AS

      -Declaring variables

      v_is_true INTEGER.

      BEGIN

      SELECT

      CASE

      WHEN MAX (in_datefield) = TRUNC(SYSDATE-1)

      THEN 1

      ON THE OTHER

      0

      END

      IN

      v_is_true

      Of

      in_schema.in_tablename

      ;

      RETURN v_is_true;

      END;

      /

      When creating, I got error: [error] ORA-00942 (44:19): PL/SQL: ORA-00942: table or view does not exist

      How to use the values of the input variables on the table select statement names?

      Hello

      Here's a way you can use dynamic SQL statements for this task:

      CREATE OR REPLACE FUNCTION IS_YDAYDATA_TO_TABLE

      (

      in_schema IN VARCHAR2,

      in_tablename IN VARCHAR2,

      in_datefield IN VARCHAR2,

      in_first_date DATE DEFAULT SYSDATE - 1,.

      in_last_date DATE by DEFAULT NULL

      )

      RETURNS INTEGER

      AS

      -IS_YDAYDATA_TO_TABLE returns 1 if in_schema.in_tablename.in_datefield

      -contains all the dates in the in_first_date of the range through included in_last_date

      - and it returns 0 if there is no such lines.

      -If in_last_date is omitted, the search only the data on in_first_date.

      -If in_first_date is omitted, it defaults to yesterday.

      -Time parts of the in_first_date and in_last_date are ignored.

      -Declaring variables

      sql_txt VARCHAR2 (1000);

      v_is_true INTEGER.

      BEGIN

      sql_txt: = 'SELECT COUNT (*).

      || 'FROM ' | in_schema | '.' || in_tablename

      || 'WHERE ' | in_datefield | ' > =: d1'

      || «AND» | in_datefield | '< >

      || 'AND ROWNUM = 1';

      dbms_output.put_line (sql_txt |) '= sql_txt in IS_YDAYDATA_TO_TABLE");  -For debugging

      Sql_txt EXECUTE IMMEDIATE

      IN v_is_true

      With the HELP of TRUNC (in_first_date) - d1

      TRUNC (NVL (in_last_date

      in_first_date

      )

      ) + 1                -- d2

      ;

      RETURN v_is_true;

      END is_ydaydata_to_table;

      /

      DISPLAY ERRORS

      If you must use dynamic SQL statements, put all the SQL statement in a single string variable, such as sql_txt in the example above.  In this way, you can easily see exactly what will be executed.  Comment out the call to dbms_output under test is completed.

      Try to write functions that will address not only the question that you have now, but similar questions that you may have in the future.  For example, now that interest you only to the verification of the data of yesterday, but later, you might want to check another day or range of days.  The above function combines the convenience of a function simple (looks like yesterday data if you don't tell him otherwise) with the power of a more complex function (you can use the same function to check any day or range of days).

    • I can't find a newer version of adobe flash player for ubuntu 14.04, I tried to use the apt version but it wouldn't work and I don't know how to use the tar.gz files and install, I think the current version to .deb

      I can't find a newer version of adobe flash player for ubuntu 14.04, I tried to use the apt version but it wouldn't work and I don't know how to use the tar.gz files and install, I think the current version to .deb

      Hi LF12,.

      The latest version of Flash Player for Linux is 11.2.202.400.  The current versions of Flash Player are displayed here http://www.adobe.com/software/flash/about/. The versions on the page are updated with each new version.

      --

      Maria

    Maybe you are looking for