LONG RAW images from remote db display in APEX

How do you display long raw images in APEX(Application Express 2.1.0.00.39) from a remote db?
The code below works in 9i db MOD_PLSQL
CREATE VIEW PICTURES AS(
SELECT PICTURE_OBJECT_ID,
PICTURE_DATE,
PICTURE_OBJECT_TYPE
FROM REMOTE_PICTURES@DATABASE_LINK);
CREATE OR REPLACE PROCEDURE JPG (
p_id IN pictures.picture_object_id%TYPE
IS
s_image LONG RAW;
l_amt NUMBER DEFAULT 30;
l_off NUMBER DEFAULT 1;
l_raw RAW (4096);
BEGIN
SELECT pictue_data
INTO s_image
FROM pictures
WHERE pictue_object_id = P_ID
and pictues.pictue_object_type = 'EMPLOYEE';
OWA_UTIL.mime_header ('image/jpg');
BEGIN
LOOP
DBMS_LOB.READ (s_image, l_amt, l_off, l_raw);
HTP.prn (UTL_RAW.cast_to_varchar2 (l_raw));
l_off := l_off + l_amt;
l_amt := 4096;
END LOOP;
EXCEPTION
WHEN NO_DATA_FOUND
THEN
NULL;
END;
In 9i this was called like. (HTML tags have been modified to display in post.)
htp.tablerowopen;
htp.p('<>td valign=middle align=center<>');
htp.p('<>IMG SRC="/pls/dad/jpg?p_id='|| v_picture_object_id ||'"<>');
htp.p('<>/td<>');
htp.tablerowclose;
I am trying to get the same thing to work in APEX. I have tried this in APEX(Application Express 2.1.0.00.39) sql report region and specifying the image to display in link column by doing:
<>img title="#IMAGE#" src="/apex/#OWNER#.jpg?p_id=#IMAGE#" width="57" height="75" /<>
Any suggestions would be helpfull. I can not migrate the long raw data type due to restrictions.

Vikas,
I have tried to find/produce error, but no luck. All I have is a blank image holder area the size specified in the <>img tag. How can I produce a visable error? I have tried to run the procedure from sqldeveloper with no luck. I used to have a tool (plsql developer) where I could test the pocedure and see the actual (image)output, but the version is not compatible with 10g. I will read the link.

Similar Messages

  • Importing RAW images from Canon EOS 550D

    I've used iPhoto 8 (version 7.1.5) with a Canon Powershot. Everything working fine.
    I just bought a Canon EOS 550D. Importing JPEG files is OK; But iPhoto refuses to import the RAW images from the 550D.
    How can I solve this problem ?

    Welcome to the Apple Discussions. That camera is new and not supported as yet by either Leopard - http://support.apple.com/kb/HT1475?viewlocale=en_US
    or Snow Leopard - http://support.apple.com/kb/HT3825.
    Evidently the camera is so new that even the Adobe Camera RAW converter doesn't support it yet - http://www.adobe.com/products/photoshop/cameraraw.html
    You'll have to use another application that does recognize that format or shoot the highest quailty JPEG the camera provides until support is offered.
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier versions) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger or later), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. There are versions that are compatible with iPhoto 5, 6, 7 and 8 libraries and Tiger and Leopard. Just put the application in the Dock and click on it whenever you want to backup the dB file. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.
    NOTE: The new rebuild option in iPhoto 09 (v. 8.0.2), Rebuild the iPhoto Library Database from automatic backup" makes this tip obsolete.

  • Downloading raw images from Canon Rebel XTi and problem with Border FX

    Aperture no longer downloads raw images from my Canon 400D / Rebel Xti and installed Lexar Professional UDMA card. I am able to download images to my Dell laptop. This is a new phenomenon only occurring since about 10 days ago. I am currently able to download images from my Canon 5D.
    Also, my computer has locked up 4 times today when I have been starting Border FX. I have seen a screen saying that I have to restart my computer by holding down the on button. I have the most recent version of the Border FX software.
    Any suggestions please?

    Join the crowd! I just started to experience exactly the same thing on both of my systems. Apparently the latest raw camera drivers broke something related to Canon Rebel cameras. I'm using the Rebel XT.
    I tried a quick experiment the other day. I shot a bunch of test photos forcing the camera to store them as JPEGs. I was able to download those without a problem. I then forced the camera back to raw mode and shot a few more pictures on the same memory card. The JPEGs that I was able to download previously no longer will download and neither will the raw files.
    I tried reverting to the older camera raw driver on my notebook but for some reason it won't let me do that. I haven't tried reverting on the desktop yet.
    Hopefully this problem is fixed quickly. I've got a ton of pictures from a recent vacation I'd like to off load.
    By the way, this affects the iPhoto, Aperture and Image Capture apps.

  • Can I download raw images from my Panasonic Lumix DMC - FZ45 to my iMac using Aperture3 ?

    I want to start using Aperture3 as long as I can handle Raw images from my Panasonic DMC-FZ45 with it but that camera is not on the list - will it work?

    If the camera is not on the list then Aperture will not be able to handle the RAW images from the camera.
    It's surprising as this is a relatively old camera, so if it's not in Aperture by now I would  tend to think it won't be included. You could download the trial version and see what happens just to make sure.
    One other thing, you could convert the RAW images to DNG using the Adobe Camera Raw and DNG Converter for Macintosh and then import those.
    regards

  • I'm trying to export a raw image from lightroom 5.6 to Photoshop cc 2014 2.1.  I right click to export menu in lightroom as I've always done to export to Photoshop.  Photoshop opens, but it can't open file, window opens to find a file to open.  I'd like t

    I'm trying to export a raw image from lightroom 5.6 to Photoshop cc 2014 2.1.  I right click to export menu in lightroom as I've always done to export to Photoshop.  Photoshop opens, but it can't open file, window opens to find a file to open.  I'd like this to export my lightroom images to edit in photoshop as it has always been able to do for me.  What fix do you recommend?

    Hi Ashley Clavette,
    The Initial view setting works perfectly when the file is opened in Acrobat after setting the desired Initial View.
    When you upload the file onto Wordpress, and view it on that website in the browser...it might be using a different pdf handler program which might be causing this issue ( it would be helpful, if you could provide the screenshot) , however when you download the pdf again from wordpress server...and open in Acrobat/Reader...then what  exactly happens ?  Does the pdf opens in the desired Initial View setting?
    Rahul

  • Cannot open camera RAW images from Sony DSC-RX100M3 camera.  Working on a Mac in Photoshop CS5 and have camera raw 6.7.

    Cannot open camera RAW images from Sony DSC-RX100M3 camera.  Working on a Mac with Photoshop CS5 and Camera Raw 6.7?

    Bruce,
    When I made the transition to digital some 8 years ago, I had tremendous help from a number of well documented websites, among which:
    http://www.luminous-landscape.com
    I think a lot of stuff there to get you seriously going. Another one is:
    http://www.computer-darkroom.com
    I sold all my film based stuff, except a Nikon F3 and a handful of lenses and a Paterson developing tank.
    The Nikon suspiciously smells like foam mirror damping strips chemically decaying.
    I sold my enlarger over the internet. The word "enlarger" caused me to be on SpamCops blacklist for a while.
    I'm in this since the seventies, and I think you'll be as amazed as I was at the possibilities and control you have. And no more bags with $300 worth of film that's consumed in one shoot.
    Jump in both feet! you won't be sorry. And these forums are the best help you can get.
    Good luck,
    Rob

  • My cs4 won't open raw image from my Canon 5D II.  What is the solution?

    My CS4 opens raw images from my 40D with no problem.  However, when I try to open raw images from my new 5D II, it says it is "not the right kind of document".  Why is this?  Aren't all RAW images the same?  What is the difference between the RAW image in my 40D, and my 5D II?  Is there a solution to this?

    Please repost this in the Photoshop forum. This forum is for suite specific issues only.
    Bob

  • How to upload RAW images from Nikon 600 into Elements 11?

    Hi recently purchased Elements 11 and cannot load Raw images from also recently purchased Nikon D600. Is there a download and if so where is it and how does it work?
    Many thanks in advance
    trevor

    Launch the Editor and click Help >>Updates
    Install Camera Raw v7.2
    PSE11 ships with v 7.1 and needs bringing up to date to get preliminary support for the D600

  • Viewing RAW images from a Canon 450D in Aperture

    I am obviously missing something.  When I try and view my RAW images from my 450D, I am just seeing a blank black screen.  Any ideas what I should do to view them properly.

    Apple's list of supported cameras is at
    http://www.apple.com/aperture/specs/raw.html
    Historically Apple loses market share due to poor support for newer cameras.
    Workarounds include shooting RAW+JPEG and just using the JPEGs until Apple gets to supporting your camera or using Adobe's RAW to DNG converter. Apple canread the DNGs.
    HTH
    -Allen

  • Cannot open Raw images from 5d Mark II in CS3

    I'm back with more issues. I had this same problem opening raw images in CS3 from my 40d (I have Windows 7 64 bit). With your help I was able to fix that issue with a patch, but now I am having the same problem with opening raw images from my new 5d Mark II. Help again please!

    You need to familiarise yourself with this: 
    http://kb2.adobe.com/cps/407/kb407111.html
    You will see that, as a minimum, you need ACR 5.2, which needs Photoshop CS4 to work.
    If you don't want to upgrade, use the latest DNG converter which will make your images viewable and editable in CS3.
    It's here:  http://www.adobe.com/support/downloads/detail.jsp?ftpID=4620

  • I can't see previews of RAW images from a Canon PowerShot G16 in Lightroom 4

    I can't see previews of RAW images from a Canon PowerShot G16 in Lightroom 4?

    For that camera, you need at least Lightroom 5.2. The alternative would be to use the DNG converter, version 8.2 or later. Or, you can upgrade to Lightroom 5.

  • PSE 7 Open Raw Image from Nikon 5100

    I have tried to install a bunch of different plug in's however I was only sucessful with http://www.adobe.com/support/downloads/detail.jsp?ftpID=4582 ... Unfortunately, it is not compatible with Nikon 5100.  Is there another plug in update that I need to install to be able to view and edit my raw images from a Nikon 5100 in PSE 7?
    Thanks.

    No, there isn't. You either have to upgrade to the new Photoshop Elements, or else download the latest DNG converter and create digital negative copies of your images. Those can be opened with the Camera Raw that you already have. There will be no more updates for Photoshop Elements 7, and that includes the Camera Raw plug-in that is compatible with it.
    Of course, another alternative would be to add Lightroom to your arsenal. It would give you a lot more options for working with your raw images. But that is a decision that you will have to make.

  • How do I get a raw image from "My Pictures" into Photoshop?

    How do I get a RAW image from "My Pictures" into Photoshop? When I send it to Photoshop , it shows up as a grey checkerboard. The title is on the top. Whe I try to send a picture from Camera Raw, it does the same thing.

    Has it ever worked or is this just something that started happening recently?
    Have you tried resetting the photoshop preferences file?
    http://forums.adobe.com/thread/375776?tstart=0
    Have you installed the latest updates for photoshop cs5?
    In photoshop cs5 go to Help>Updates
    To post the system info here on the forum it might depend on your browser, but using firefox as an example, you would open the system info in photoshop, press Copy then OK.
    Here on the forum you would press the ctrl key and paste.

  • I have Lightroom 3.6 and it does not recognize the raw images from my Canon 7d mark II, suggestions?

    I have Lightroom 3.6 and it does not recognize the raw images from my canon 7d mark II, suggestions, do I need to upgrade?

    Yes, you need an upgrade for native support in Lightroom. You need version 5.70 or higher; current version is 5.71.
    Alternatively, you could use the most recent DNG converter and convert the raw files to DNG files before importing into Lightroom.

  • How do I get Photoshop elements 9 to open RAW images from my Canon g16?

    How do I get elemente 9 to open RAW images from Canon G 16?

    Hi,
    You will need either use the Canon software to convert the CR2 files to TIF files or use the free Adobe DNG converter to convert the CR2 files to DNG files. Then import the TIF or DNG files into PSE 9.
    You could update to PSE 12 to avoid the conversions.
    Brian

Maybe you are looking for

  • Aperture 3 Display Bug and Export to Flickr Bug

    Has anyone else experienced this issue, and if so what systems do you have and what graphics card are you using? The issue is the way images are displayed in Aperture. There seems to have been a change in the anti-aliasing between 2 and 3 so than now

  • Why does my MacBook suddenly not register that it has airport card?

    Regularly (about 6 times a day or more) I loose my airport connection on any network (home, in coffee shops, library, at work, etc.). The airport status icon usually goes blank (as if it is off) and will either not turn back on, or says that no airpo

  • Coping large folders (15+- gigs) freezes or stops

    we do graphics work. we are constantly backing up our files. example: we have an "inworks" folder containg possibly 15 gigs and maybe 25,000 items. we back up this folder pretty much daily. we have never had this problem on panther that we are experi

  • How can I make a "Pokeball Effect" ?

    Hello there, I've been looking all around the Internet for some sort of Tutorial for how to make a "Pokeball Effect", I've also tryed, without luck, coming up with something myself I've tryed CC Light burst, Light Sweep, Light Rays, etc.. This is wha

  • Using supplier to update material master (MM02)

    Hi, We have a supplier that manufactures for us and we are asking that they pass certain MARA fields to us, so that we can automatically update the material master.  The primary fields are weights and dimensions.  We are using EDI and the MATMAS mess