Displaying images uploaded in a report

Hello

I used to display images in a report successfully (in Oracle 10 g and the Apex Version before 4.1.1
Now I haved installed Oracle 11 GR 2 (64-bit) and Apex 4.1.1.00.23 and imported from the application with the report mentioned,.
but the images are no more.

I use the following code in the Html-Expression in a report column:
<img title="#NAME#" src="#OWNER#.show_my_file?p_file=#PICTURE_ID#" width="40" height="40" />
The show_my_file procedure looks like this:
PROCEDURE SHOW_MY_FILE (p_file in number) as
        v_mime  VARCHAR2(48);
        v_length  NUMBER;
        v_file_name VARCHAR2(2000);
        Lob_loc  BLOB;
BEGIN
        SELECT MIME_TYPE, PICTURE, Name,DBMS_LOB.GETLENGTH(PICTURE)
        INTO    v_mime,lob_loc,v_file_name,v_length
        FROM    PICTURES
        WHERE PICTURE_ID = p_file;
      
       owa_util.mime_header( nvl(v_mime,'application/octet'), FALSE );
       htp.p('Content-length: ' || v_length);
       htp.p('Content-Disposition: attachment; filename="'|| v_file_name || '"');
       owa_util.http_header_close;
       wpg_docload.download_file( Lob_loc );

end show_my_file;
I run granted on this procedure to the public.

But the images are not displayed anymore. I'm a bit lost here.

What I'm missing here? I hope someone can point me in the right direction.

Thank you.

Concerning
Johnny

P.S. has anything changed in since a previous version Oracle 11 g 2 or apex 4.1.1 this topic?

Hello

This is the solution also for OHS if you dads.conf online

PlsqlRequestValidationFunction wwv_flow_epg_include_modules.authorize

When you change the function, you also added qualifier schema?
Function should look like

CREATE OR REPLACE FUNCTION
wwv_flow_epg_include_mod_local(
    PROCEDURE_NAME IN VARCHAR2)
RETURN BOOLEAN
IS
BEGIN
    IF UPPER(procedure_name) IN (
          UPPER('your_schema.show_my_file')
    ) THEN
        RETURN TRUE;
    ELSE
        RETURN FALSE;
    END IF;
END wwv_flow_epg_include_mod_local;

Kind regards
Jari
-----
My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
Twitter: http://www.twitter.com/jariolai

Tags: Database

Similar Questions

  • Display image in a classic report on a public page

    Hello

    I developed a public page where I want the list of items from a view. It must be a classic report because of the template I want to use later.

    The query is executed with the typical HTML structure:

    Select "ARTI_ID."

    "ARTI_BESCHREIBUNG,"

    "ARTI_PREIS,"

    "ARTI_PORTO,"

    decode (nvl (dbms_lob.getlength ("ARTI_BILD"), 0), 0, null,)

    "< img style =" border: 4px solid #CCC; " -moz-border-radius: 4px; -webkit - border-radius: 4px; » '||

    "src =" "| apex_util.get_blob_file_src ('P3_ARTI_BILD', "ARTI_ID") |' "height ="75"width ="75"alt ="Bild"title ="Bild"/ >") "ARTI_BILD" "

    of ' #OWNER # '. " TRAN_ALLE_ARTIKEL_V ".

    WHERE 'ARTI_IST_GUELTIG '=' J '.

    I used this query in an interactive report without problem on a page with authentication. Of course, I edited the page ID in the P3_ARTI_BILD element

    Now, how can I manage it works?

    The application runs on apex.oracle.com over 5 APEX.

    Greetings

    Steven

    He solved. Still don't know what the error was, but everything works fine. This link helped me: Re: Confusion with get_blob_file_src

  • Images in an interacitve report

    Hello

    a question:

    Is it possible to display an image in a report interactive?

    I did it already in a classic report using:
    CASE
    When (> 1 «Number») then "< img src ="#WORKSPACE_IMAGES #red. " ALT "JPG" = "RED" > "
    "when ('Number' < = 1) then" < img src = "#WORKSPACE_IMAGES #green.jpg" alt = "GREEN" > ' end as 'fire '.


    It worked perfectly in the classic report. But when I use this for the interactive report, it just displays the text ('img src... ") but no display no picture."


    Perhaps the interactive report cannot show images?


    Thanks for your help,
    LISA :-)

    Hi Lisa,

    Yes, it is possible to display images in the interactive report. If you just see the text «img src...» "check the attributes of report to see if the"Display As text"is set at. It should be the Standard report column.

    Concerning

    Paul

  • How to display image in the data from the blob column item

    Hello
    This is pavan, I try to upload images in the tables and display.
    I was able to download the data in the table using this http://www.apexninjas.com/blog/2011/09/uploading-and-displaying-images-in-apex/
    but I'm unable to display in the report or item and also I have mentioned these http://docs.oracle.com/cd/E37097_01/doc/doc.42/e35127/apex_util.htm#AEAPI129 post but I din't get how to put an element valid POINT with the type of FILE that contains the type of source of column DB application page name.
    and also, I raised the thread https://community.oracle.com/message/9616066that also in response that he has changed the type of data that we need I don't have.
    can someone help me on this please
    Kind regards
    Pavan

    creating manual p3_image point of page that is display in form of image display and check point p3_image for more information how image

    in your application.

    Leave.

  • Display Image dynamically in ADF 11 g

    Scenario is,

    I have an employee form on which employee can go into its details and upload a profile image to fill the area of the Image on Form.I successfully upload image but trying to show this image uploaded Image Area(Active Image or Graph Image)...

    How can I do?

    J DevVersion: 11.1.2.0.0

    Zaid,

    Have you checked Ashish on this blog:

    Blog of Ashish Awasthi (Jdev/ADF): download and display of file path absolute server image - Orace ADF

    This could also help:

    Blog of Ashish Awasthi (Jdev/ADF): show transferred the contents of files (pdf/text/html/xml/image) on the page - Oracle ADF

    See you soon

    AJ

  • How to display image in condition

    In my interactive report

    column 1 (COL1) with the name of the image (e2.gif)

    column 5 (COL5) with an id

    I wrote the html code below in

    Report of the attributes = > column attributes = > formatting of column = > Expression HTML

    < img src = "" #IMAGE_PREFIX # COL1 # "href =" onclick = "f_opn_modal_window('#COL5#'); ">

    Its working fine.

    But I want to implement under logic

    If COL5 (id) is not null, then display image

    If (id) COL5 is null then no display picture

    How could I achieve this

    Thank you

    C Shekhar says:

    In my interactive report

    column 1 (COL1) with the name of the image (e2.gif)

    column 5 (COL5) with an id

    I wrote the html code below in

    Report => of-online column attributes-online column formatting HTML Expression attributes

    Its working fine.

    But I want to implement under logic

    If COL5 (id) is not null, then display image

    If (id) COL5 is null then no display picture

    How could I achieve this

    APEX is still sadly the fundamental ability to conditionally display declarative report column on a baseline values. This means that we need to violate the separation of concerns and combine access to data, logic control and HTML structure in the report query. Remove the HTML Expression and generate the image column in the query:

    nvl2(id, '', null)

    Set the text to display as property of the column to report Standard column.

  • How to make the images uploaded to update in design mode?

    PCOC
    I can create a page with local images and their replacement updates fine in design mode.

    How can I replace the images uploaded to in Design view, although both have been modified locally and on the site? Display live shows correct, but design view is not updated.

    The previous image always seems to be in sight unless I have replace it with its new local image (self-titled) and then change the link to account for his site link.

    Behavior of buggy which seems to have been put in place for a couple releases now.

    TIA

    DW has always had problems with the display of the images remotely located in Design view, the terrible workaround for it is to close and reopen the DW for the external image update is displayed correctly.

    However, it should not have any problem with changes to local images. Who should view as soon as the local file is modified.

    Work on one Site?

  • How can I display images nikon in photoshop? I have cs4 camera raw plug-in is not an option and I have lost my disc of the initial purchase of the D90.

    How can I display images nikon in photoshop? I have cs4 camera raw plug-in is not an option and I have lost my disc of the initial purchase of the D90.

    You wrote: I have cs4 then the camera raw plugin is not an option.

    This is incorrect, you can download ACR 5.7 plug-ins for Photoshop CS4, allowing you to open. Ships of your D90. (ACR = Adobe Camera Raw)

    No need to use the DNG Converter.

    Here is a link to the Mac version: Adobe - Photoshop: for Macintosh: Camera Raw 5.7 update

    If you have windows, you should be able to find the similar ACR for window 5.7. Google is your friend.

    I would avoid using View NX from Nikon for download your ships. Many people have reported files corrupted when using this method.

    You also mentioned about the lack of icons. Have you tried to use Adobe Bridge?

    All ships have a built-in preview .jpg and bridge can certainly not see these previews.

    You can directly open files NAVE of the bridge in ACR. You just need to first download and install ACR 5.7.

  • When "allow pages to choose their own colors, instead of my selections above" is not checked in the menu options, I can't see images on Web sites. How can I maintain with the box unchecked and always display images?

    I recently decided to spend autour colours in Firefox. I work in a fairly dark environment and have the dark color on white or light background text is quite difficult on my eyes in the dark.

    I changed the background to a dark gray, light gray text and visited the two and links not visited in a blue light. With these changes, I unchecked the "allow pages to choose their own colors, instead of my selections above" box.

    After unchecking the box, I'm more able to display images on many sites. Turn all grey images - as if Firefox has changed their image in part of the background. When I check the box, I am able to see fine pictures, however, Web sites typically return to their light background with dark text.

    Any help and assistance with this is greatly appreciated!
    Thank you!

    You can use the NoSquint extension to define the font size (zoom text/page) and colors of text on web pages.

  • last mozilla does not display image in yahoo personals email, just black squares.

    Latest version of firefox does not display image in yahoo personals email, just black squares

    This has happened

    Each time Firefox opened

    is latest update of firefox

    See the problems that cause to not show images and http://kb.mozillazine.org/Images_or_animations_do_not_load

    It is possible that you clicked the 'Block Images' item in the context menu by attempting to save an image.
    Check the image exceptions: Tools > Options > content: Load Images: Exceptions - see the web content, pop-ups, fonts and language settings

    A way to see what images are blocked is to click on the favicon (Site ID icon) on the left side of the address bar and click the button "additional information".
    This will open the Security tab of the window of the Information Page (also accessible via Tools > Page Info).
    Go to the Media of this Page Info window tab.
    Select the first image and scroll though the list with the arrow pointing downwards.
    If a picture is grayed out and there is a check mark in the box of block Images of... then remove this brand in order to unlock the images from this area.

  • Display image on vi as myRio problem

    Hello

    This system supposed to be an easy task, but I don't know why it does not work. I am trying to create a game by myRio 1900 and I'm putting a jpeg image. However, I get an error message or an empty image on the Panel before the myRio Vi (Vi project myRio label) [see photograph below]. On the other hand, if I create the same VI under my computer, the image shows without any problem. What should I do to enlarge a picture on my VI as myRio. I need the image either on this VI because I am creating a program requiring myRio and it may not work properly if it is not under label myRio (I need its integrated sensor). I am attaching a zip file of only the part display image of the commandments and not my whole project easier to visualize.

    Problem in brief:
    Please see the project (as a zip).  The vi computer label works and the vi under myRio does not.

    I want to solve:
    I want to put an image on VI myRio label.

    I have:

    MyRio Labview 2014

    MyRio 1900

    Already tried to: (but unfortunately did not work)

    (1) put the jpeg file in the USB key and plug myRio directly. I gave the file path ' / u/bg.jpg ". (File system)

    2) created by Subvi from 'computer' then it reminds on the (main) vi under myRio. And vice versa (Subvi myRio and MainVI on 'computer')

    Please ask me any questions if you need further information. I will answer as soon as possible.

    Thanks in advance for your help,

    I am very greateful for your time.

    Stephany

    Stephany,

    It seems that reading JPEG/PNG/BMP screws are not based on targets in real time, as your myRIO. As an alternative, you can get our Vision of shared resources (I think you need to install with Vision Development Module), install Vision RT to the myRIO and use the IMAQ ReadFile VI to open the file on the myRIO.

  • Display images from a folder

    I'm looking to display images from a folder of images containing mostly jpg images. I want to be able to display images on the façade and cycle through them with a button. How can I do this?

    LabVIEW 2013

    This is the solution, if anyone needs

  • How to adjust display image horizontal display

    everytime I turn on my labtop, the image would jump to display vertically and not horizontally, which is the setting of display image of normal labtop, what key I have by mistake, press

    High graphics most of range, the cards are equipped with display rotation built in and adjustable via display properties or via the display properties of the display icon in the Notification area (to the left of the system clock).  It is a nice feature if you want to read things more like a book on your laptop, etc.

    Some examples would be ATI, NVIDIA, Intel, Matrox, S3, XGI...  These adapters can be integrated into your system, and not always his own card.

    This phenomenon of rotation screen sometimes inadvertently some keystrokes (the cat walked on my keyboard).

    Pressing on the keys Ctrl-Alt top/arrow down arrow rotates screen 90 degrees at a time for some graphics (like NVIDIA) cards

    If this does not work, we will need to know your system brand and model and see if we can look at the rotating screen for you shortcut keys.

  • I can't display image icons when working with my photo folder. How can I see the photos without having to click on them in preview mode?

    I can't display image icons when working with my photo folder. How can I see the photos without having to click on them in preview mode?

    -It used to work and for some reason, now it does not work

    Greetings, d_chiuch1104,

    There is one thing that I know that you need to check that COULD be your problem.  Open Control Panel (in Classic view) and click Folder Options (or, in Control Panel, click on appearance and personalization and then Folder Options).

    Open the view tab and make sure that "Always show icons, never thumbnails" is NOT checked.

    It would be good to hear from you as to whether that was the problem!

    GL - Bob

  • Album App do not display images of internal storage

    Hello
    I use a ultra Xperia Z

    I always have problems with my album app, it shows no content from the internal memory, but only from SD card. I tried to clear the cache of data and restarted the phone, but it does not help. I recently updated my OS to lollipop 5.1.1 it worked once, but as soon as I plugged the phone on the laptop it stopped to show the content of the internal memory. He gave me problems even if you use 4.4.2

    The version of the album App is 7.3.A.0.4, please make a permanent fix because it's very annoying to have to go through the file Commander to display images from the internal memory.

    Thanks in advance

    When you try to change something on the external SD card using advantage 3:rd app, you must allow access to the application.

    In Total Commander you have to get a popup saying 'Write protected!', then press 'OK', then select the SD card on the left side menu och then press "confirm" at the bottom. Total order then deletes the file.

    And when the file has been deleted, don't forget to erase the data to storage media and then reboot the phone. It can also take a little while for the phone to analyze all of the media, which may take a little while before, you see all the pictures.

    Which you must use the file manager is a matter of preference. You can have both installed if you want to.

Maybe you are looking for

  • Activity &amp; Heath Apps do not work

    I have an iPhone 6. About 2 weeks ago health and business apps stopped working and follow all the data. I have not matched & paired my Apple Watch & even gone as far as clear my iPhone & relocation of a back-up all to nothing does not. I turned on an

  • Recovery of history

    Hey people of the internet! So, I had a few conversations on Skype I have are very expensive, and I really need them. The problem is that I lost my whole story. My old hard drive dies, and there is no way that I'll never recover all of it. So I have

  • Problem laptop new

    Ovako, laptop uzeo computer sam E. I have sad sta is desilo, ja sam hteo da ga pustim da is skroz isprazni. DOsao I do jedno 7% I ja pustio muziku da is sto pre isprazni. Odsviralo I you'm, dve pesme I sve zakocilo, nije mogao da is ugasi nor na Selm

  • 5525 printer cannot find the wireless network

    Help I'm not good with technical stuff and need help with this problem.  Printer works well before going on holiday - power off, including the CISCO router when we went away--returned and turned on any return, printer will not connect to the router a

  • Fields "Synonym of entity source" and "Target entity synonym" for?

    HelloHe is a newbie question.Is someone can you please tell me what that fields "Entity synonym Source" and "Synonym of target entity" in the dialog box properties of relationship are for? They are drop down boxes and look as if you should be able to