Image is not displayed after upload

Hello, I have imported an application from oracle APEX 3.0 10g in my express edition APEX 3.0 . In this application you can upload pictures in the database and afterwards show them in a report. in 10g everything works well. In my XE the pictures are not shown(red cross) but were written in the database.
Procedure to select the images from the table:
create or replace procedure emps_image_display (p_emp_id in number)
as
l_mime varchar2(255);
l_length number;
l_file_name varchar2(2000);
lob_loc BLOB;
begin
select mime_type, image, image_name, dbms_lob.getlength(image)
into l_mime, lob_loc, l_file_name, l_length
from emps_images where emp_id = p_emp_id;
owa_util.mime_header(nvl(l_mime,'application/octet'), FALSE );
htp.p('Content-length: ' || l_length);
htp.p('Content-Disposition: filename="' || l_file_name || '"');
owa_util.http_header_close;
wpg_docload.download_file( Lob_loc );
end;
the process has grant on execute
procedure on the page:
begin
delete from emps_images where emp_id = :P6_EMP_ID;
insert into emps_images (image_id, emp_id, image_name, mime_type, image)
select null, :P6_EMP_ID, filename, mime_type, blob_content
from wwv_flow_files where name = :P6_IMAGE_URL;
delete from wwv_flow_files where name = :P6_IMAGE_URL;
end;
The writing of the picture in the database works well, only it is not shown on the page (red cross)
the SQL query to show the pictures in the report:
select e.emp_id, e.last_name, e.first_name, e.phone, e.email, e.location, e.job,
decode(i.image_id, null, 'No Image Found',
'') image
from emps_view e, emps_images i
where e.emp_id = :P10_EMPID
and e.emp_id = i.emp_id(+)
If no entry exists in the table, " No image found " is shown. otherwise ... the red cross :)
the URL to the picture looks as follows:
http://127.0.0.1:8081/apex/WORKSHOP.emps_image_display?p_emp_id=2
I hope, somebody here can help me.

Are you sure, that you granted the privileges for executing EMPS_IMAGE_DISPLAY procedure to the right database user?
In XE (APEX 2.1), the default database user for HTTP access is ANONYMOUS, in other editions it is APEX_PUBLIC_USER.
To check this, create a report on any of your pages with this SQL:
SELECT USER from DUAL
This should show you the username, that you should grant execute to.

Similar Messages

  • SAP Webdispatcher :Images are not displayed after using the URL filtering

    Hello,
    I have installed the SAP webdispatcher 7.3 on Linux redhat 5.4 in front of the Portal 7.3.
    I wanted to restrict the access just for the IRJ prefix so for this i used the parameter wdisp/permission_table = PermFile
    with Permfile as follows:
    #Denial of the useradmin URL from the WebDispatcher
    P /irj*
    P /irj/*
    The filtering is working well except that for IRJ the images are not displayed so i was using so i added the following line to disply the images to the logon page
    icm/HTTP/auth_
    P /logon_ui_resources/*
    P /logon_ui_resources*
    but i still have the same issue for the irj page where no icons are displayed and i can do nothing.
    The same issue also happened when using the icm/HTTP/auth_xx
    Do you have an idea how to deal with this issue?
    Thanks in advance;
    Hassan

    Hello,
    After checking the HTTP code of the irj page on IE,  i foud the needed URL to permit so i modified the permision table and it works fine for the moement
    P /irj*
    P /irj/*
    P /logon_ui_resources/*
    P /logon_ui_resources*
    P /AFPServlet/*
    P /AFPServlet*
    P /com.sap*
    P /com.sap/*
    P /webdynpro/resources*
    P /webdynpro/resources/*
    Thanks for you help,
    Hassan

  • Photo Gallery Images Do Not Display When Uploaded

    I have made a photo gallery in Bidge, and locally, it looks fine. WHen I upload the folder to the remote server, none of the images will display.
    Everything is contained in the gallery folder, and I uploaded that folder. The web pages are displayed, but the images will not.
    On the image below, the list of local files are on the right, and the remote files are on the left.
    Please tell me what I've missed. Thanks.

    Is your photo gallery from a Collection?  Don't think those can be shared as they are  just alisis and not the image.

  • New created values are not displaying after upload

    Hi
    I have created 2 key figures(Infoobject),4 new nodes and leafs(Hierarchy), to include the new logic at R/3 end as well as BW end.Every thing is fine even after doing full upload(repair).
    When i execute the query the data is not populated in its respective infoobjects and hierarchy nodes and leafs.
    Even 1 infoobject which is used for Counter value is not showing the counting as it's defined as aggregate to the info object Count and that included to ODS which is responsible for counting. after full upload it's not showing the counter values.
    After full upload(Repair) all these entries are not displaying in the report against the data which is present at RSA3 level.
    Can any one tell me how to make them available in the query even after data is uploaded / available in the bw.
    Gaurav Upadhyaya
    Edited by: Gaurav on Aug 26, 2008 10:55 AM

    Hi,
    You can´t see hierarchies in an infoprovider, so this is ok. A hierarchie is a part of an infoobject. But you say  you have 2 new kefigures and they are not filled. I suppose you added both keyfigures to your DSO/Cube and to the datasource (in your source system). Have you extended the transformations between datasource <-> DSO and DSO <-> Cube too? Are the keyfigures correctly connected (in the transformations)? If yes, check your PSA after loading. Are the keyfigures filled here? If no, check the RSA3 in your source system. Are the fields for you keyfigures filled there?
    Pls. check this all and tell us, what the result is.
    Regards

  • Image won't display after uploaded

    I created a text gif and inserted it into the page.  Then entered the URL info etc...  However, after being uploaded the image isn't there.  There is no box with a red thing in it like what appears when the image is not in the correct folder..... just nothing.  Like I never did it.  I verified that the image name is correct and in the images folder.  Weird.   Any ideas?
    www.wranglergirl.net/references.html
    Amy

    I created a text gif and inserted it into the page.
    What's the filename of the text gif?
    I see the following GIFs referenced in the code:
    http://www.wranglergirl.net/images/banner_logo.gif
    http://www.wranglergirl.net/images/address_logo.gif
    http://www.wranglergirl.net/SpryAssets/SpryMenuBarDown.gif
    All have loaded correctly.

  • OA_MEDIA images are not displayed after importing VO

    My requirement is to add a custom check box to MES Operator page. In the process I extended CO, VO successfully and the check box functionality is working fine. But we found out that some images (coming from $OA_MEDIA) are not displayed. There are two image columns in the page. Images in one column are displayed while images in other aren't. Also what I have observed is, missing images are displayed until I run the VO import on server.
    Any help would be appreciated.
    Thanks.

    Can anyone please help me with this issue?

  • Thumbnails not displaying after uploading site

    So I am not sure what else to try here. I possibly missed something easy. Well the paths to my images are correct the files are uploaded to the correct place on the host server as well. I have tried renaming and changing the file directory to no avail. well any help will be greatly appreciated here is a link to the troublesome page
    http://merepurposed.com/eyes.html
    The error log tells me the files do not exist, but all the files are there and I have uploaded them multiple times. Any thoughts are helpful
    Thanks

    The issue is the uppercase JPG in the image filename.
    Your site is hosted on a Linux server where filenames are case sensitive.
    The image filename in the code and the name of the image file on the server must be identical, including upper/lowercase.
    http://merepurposed.com/thumbs/launch_thumbs/ahoyt.jpg =  file not found
    http://merepurposed.com/thumbs/launch_thumbs/ahoyt.JPG = OK
    Change all the image extensions to lowercase, either locally via Find and Replace in DW then re-upload or directly on the server via Remote View.

  • Styles not displayed after uploading site [was: Dreamweaver CS4]

    First time using CS4 Dreamweaver, just upgraded to Windows 7.
    I have designed several sites and never had this problem. Uploaded
    everything - my web site views like it is missing the Style Sheets. Whats
    up with this? I keep reviewing and reviewing and cannot seem to find the problem.
    Web site is http://www.mid-lifecycle.com. Any suggestion would be very helpful.
    Thank you
    Barbara
    [Subject line edited for clarity by moderator]

    xxzzyyt wrote:
    First time using CS4 Dreamweaver, just upgraded to Windows 7.
    Together with John's reply, this gives a strong clue. It looks as though the site root is incorrectly defined. See http://forums.adobe.com/thread/478327.

  • After upgrading to 3.5 from a library of images are not displayed.

    After upgrading to 3.5 from a library of images are not displayed. All images are filled with black. Ifoto the same library looks fine.

    Yes, they are compile errors, which state 'xmlObject cannot be resolved to a type' on this line: protected XmlObject xmlDocument = null;
    and on an import line: import org.apache.xmlbeans.*;
    the compiler states the import.org.apache.xmlbeans cannot be resolved.
    I have three classes that deal with xml objects and all three have the same errors.
    Also I'm getting the same type of errors on an import javax.media

  • Image is not displaying in page

    hi frnds
    i m uploading image , and then displaying image , but image is not displaying
    this code written in ONINPUTPROCESSING  and this code is working fine
    but problem is this
    the value if diplay_url is getting blank when it comes in layout
    * To Display this image on BSP
    CREATE OBJECT cached_response
                  TYPE
                    cl_http_response
                  EXPORTING
                    add_c_msg        = 1.
    cached_response->set_data( lv_file_content ).
                cached_response->set_header_field( name  = if_http_header_fields=>content_type
                                                   value = lv_file_mime_type ).
                cached_response->set_status( code = 200 reason = 'OK' ).
                cached_response->server_cache_expire_rel( expires_rel = 700 ).
    * generate GUID
                CALL FUNCTION 'GUID_CREATE'
                  IMPORTING
                    ev_guid_32 = guid.
                CONCATENATE runtime->application_url '/' wa_file INTO display_url.
                CONCATENATE  'http://siildev.siil.com:8001/' display_url INTO display_url.
                cl_http_server=>server_cache_upload( url = display_url
                                                     response = cached_response ).
    here display_url ='http://siildev.siil.com:8001/sap(bD1lbiZjPTc3Nw==)/bc/bsp/sap/zprbsp_002/aa.jpg'
    and in layout
    <% DATA:     display_url    TYPE  STRING. %>
    <iframe src="<%= display_url %>" width="100%" height="500px">
      </iframe>
    and here   display_url is blank
    so how i will get the value of display_url in layout
    Edited by: Guptaprashant on Apr 16, 2009 12:49 PM
    Edited by: Guptaprashant on Apr 16, 2009 12:50 PM

    Hi,
    according to your code, you define a local variable display_url in the layout of your page but without setting any value:
    <% DATA:     display_url    TYPE  STRING. %>
    <iframe src="<%= display_url %>" width="100%" height="500px">
      </iframe>
    I guess, you have also a page attribute or local variable in your eventHandler named display_url.
    So the local definition in the layout overrides the global page attribute an its value.
    Use just the page attribute to set the value on initialization and display it in the layout.
    Best regards,
    CW

  • Images are not shown after deploying in apps

    After deploying my application in apps i have put all my images in media folder even then the images are not displaying, can any tell me what is the reason for this, but when i have deployed before it was working fine...

    when the page is displayed without the image, right click on the image place holder and click on properties. Under General tab,
    address will show you the place/url page is looking for the image. Make sure you have put the image on that path and the name of image mathes the case as well.
    --Tanveer                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Images are not displayed in Details Page of Open script

    I am trying to record a web application with open script.
    After recording the images are not displayed when playing back the script.
    Are there any option we have to enable to get the images.

    Hi
    As per default OpenScript will ignore any URL that contains an image, to change the filters you can:
    View -> OpenScript Preferences > Record -> HTTP Module -> Select the URL filters Tab to add/remove or edit any filters
    You can un-check the first one on the list to enable image recording.
    Regards
    Alex

  • While using stumbleupon images are not displaying on homepage only links to images

    when i log onto stumbleupon and go to my homepage or any other users homepage in stumbleupon the images are not displayed. Instead there is a written description(link?) in its place. I have not excluded images in firefox preferences. I have updated all my add ons, plugins and exensions. I believe it started after i updated flashplayer or another add on and i had made stumbleupon my homepage in firefox. Also just updated to firefox 4 thank you for your help. another clue when i am downloading sites in stumbleupon the images are in the larger + size not the usual - size. normally they are in the - and you click and they enlarge(zoom?) to the + size click again and they go back to the -. Hope that helps.

    when i log onto stumbleupon and go to my homepage or any other users homepage in stumbleupon the images are not displayed. Instead there is a written description(link?) in its place. I have not excluded images in firefox preferences. I have updated all my add ons, plugins and exensions. I believe it started after i updated flashplayer or another add on and i had made stumbleupon my homepage in firefox. Also just updated to firefox 4 thank you for your help. another clue when i am downloading sites in stumbleupon the images are in the larger + size not the usual - size. normally they are in the - and you click and they enlarge(zoom?) to the + size click again and they go back to the -. Hope that helps.

  • MIME object/Image(JPG) not displayed in the WAD template

    Hello all,
    I uploaded a .JPG file to mime repository. I used that object my WAD template. When i excute the Temapate, image file is not displayed just showing X mark.
    But i am able to open/see the file from the mime repository.
    What could be the problem? please let me know.
    Reagards
    Ravi

    Hi Anil,
    Thanks for your reply. I have found the problem.
    Imaage that i have kept in mime belongs to https protocol. BSP application with SSL, needs https to execute in the browser.
    when i execute the template, by default WAD is using http protocol, so the image is not displaying, when i use https, the image is being displayed in the WAD output.
    Regards,
    Ravi

  • Image does not display have editing

    I'm wondering if anyone is have this issue. On some of pictures after I make an edit (i.e. crop, spot/patch, etc). the image does not display. If I switch to full screen the updated image displays. When I switch back to the browser and viewer mode the image does not display in the viewer.
    This problem certainly makes editing pictures quite difficult.
    Any help would be great!!!
    Here's my system configuration:
    Aperture 2.1
    Mac Pro Dual Core 2.66Ghz
    5GB RAM
    2 x Nvidia GeForce 7300 Graphics Cards
    4 x 24" monitors.

    Karsten, thank you for your response, but the problem still seems to exist. I rebuilt my entire Aperture library then started to generate new previews. The rebuilt library and new previews work fine, however, again if I make an edit to the image and the apply the change the updated image does not display. If I resize the image in the viewer the image appears.
    This seems to be a very weird problem.

Maybe you are looking for

  • Procedure in master/detail form

    NOTE: The basic purpose of this procedure is to return records from another table that match records that were just inserted in the detail table. My problem is that this procedure processes one set of values at a time. I would like to adapt this proc

  • Receiver proxy error - CLIENT_RECEIVE_FAILED error code 200

    Hi, Scenario: JDBC to Proxy. I am getting an error on the receiver side - below is the error. <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> - <!--  Call Adapter   --> - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="htt

  • Exception Message: The form cannot connect to the data source. Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'

    When opening a form in SharePoint 12013 that was created from Infopath 2013, I get the following error. You do not have permissions to access a database that contains data required for this form to function correctly. An entry has been added to the W

  • How to copy role from R/3 to BW and other SAP systems

    hello all, I have created a role in R/3 dev systems, Now the requirement is I have to create same role in BW, GTS etc Is there a way I can copy or transport the request from R/3 dev to other SAP systems. I am asking this becuase this role is kinda me

  • Rollout Project Info Needed

    Dear Experts, Kindly send me some info and documents on Rollout project. Need some detailed documents or explanation. Thanks in Advance, Senthil