Retrive Image from DB into Image_item

hiii
i've stored some images successfully in atabase ... now i have the following scenario :
login form --> after success login -->Account Form in which shows the user information (name, address,phone, and his image) retreived using (simple select statement) except the Image ..
i have no idea ... can any body help
OMD

Hiii
its not working to select an image into a blob variable then bind it to an image_item ...i got the following error :
bad bind variable ADMINS_MAIN_ACC_BLOCK.EMP_IMAGE
USING THIS CODE ...:
PROCEDURE GET_EMP_NAME(EMP_U_NAME VARCHAR2) IS
          emp_f_name VARCHAR2(20);
          emp_l_name VARCHAR2(20);
          emp_imge blob;
          u_name varchar2(50);
          passwd varchar2(50);
          emp_full_name VARCHAR2(50);
EMPLOYEE_ID NUMBER(3);
BEGIN
     SELECT ADMIN_ID into EMPLOYEE_ID FROM ADMINS WHERE USER_NAME=EMP_U_NAME;
     select f_name,last_name,emp_image,user_name,pwd into emp_f_name,emp_l_name,emp_imge,u_name,passwd
     from admins
     where admin_id=EMPLOYEE_ID;
     emp_full_name:=emp_f_name||' '||emp_l_name;
     :EMP_NAME_DSP:=emp_full_name;
     :ADMINS_MAIN_ACC_BLOCK.F_NAME:=emp_f_name;
     :ADMINS_MAIN_ACC_BLOCK.LAST_NAME:=emp_l_name;
     :ADMINS_MAIN_ACC_BLOCK.USER_NAME:=u_name;
     :ADMINS_MAIN_ACC_BLOCK.PWD:=passwd;
     :ADMINS_MAIN_ACC_BLOCK.EMP_IMAGE:=emp_imge;
END;
************************************************************************************************

Similar Messages

  • How do I get images from Aperture into print shop for mac?

    Friends,
    I have Print Shop for Mac and Aperture. How do I get images from Aperture into Print Shop? I'musing managed images with previews. Is there any option besides exporting to the desktop and importing?
    Thanks!
    Steve

    if you have previews turned on in Aperture and they're all genereated, you can simply drag-n-drop them into any application (just about). drag-n-drop is essentially the same as copy/paste as long as the application is setup to accept "drops" onto its windows.
    otherwise, if you're running Leopard (10.5) as your version of Mac OS X, when you import (or whatever it is in PrintShop), you should get a file selection dialog. from here, scroll down the left-hand side bar set of icons. near the bottom is a group called "Media". click on the triangle to open the group, choose Photos, and from here you should see an Aperture icon. click this and you'll see your whole library (or at least the portion of it that you have previews generated for. select the photo you want and viola!
    scott

  • Drag & drop images from Finder into new Photoshop layer?

    Is it possible to drag & drop images from Finder into a new Photoshop layer?
    I can do it from a web browser, but not the Finder.

    >I couldn't find a way to do so in Bridge, but also I never use that program. Never got into Bridge's workflow. >
    I really do suggest that you re-visit Bridge especially the CS4 version.
    I just cannot conceive of trying to use a Digital camera, a Scanner or the Creative Suite programs without using Bridge and ACR.
    I can even use it to read PDFs and inDesign documents (all pages!) without opening Acrobat or InD..
    >I usually keep a "work" window open with all the files I am using for a project, so it would be far more handy to be able to skim them in the Finder.
    It is now far more effective and efficient to do that in Bridge than in the Finder.
    This is where you would find the new Collections feature to be invaluable:
    Just select all the images and other files connected to a project from any folder and drag their icons into the same Collection.
    You then have all aliases (previewable at full-screen slide-view size with one click of the space bar in CS4) to ALL of your files which are now visible in. and openable from, a single panel.

  • I can't place images from Photos into InDesign since updating to Yosemite 10.10.3. Is this an Apple issue or an Adobe one?

    I can't place images from Photos into InDesign since updating to Yosemite 10.10.3. Is this an Apple issue or an Adobe one? It used to be a simple process with iPhoto but not anymore.

    Thanks Steve. I should have mentioned that I’m still using CS6. Wonder if that’s the difference? All I get in the sidebar is Photo Booth which is useless.
    vann jennings
    creative director
    [email protected]
    chemistry
    3918 River Rd.
    North Topsail Beach NC 28460
    cell: 412-298-8275
    Henry W. Oliver Building
    535  Smithfield St.
    Suite 230
    Pittsburgh PA  15222
    phone: 412.642.0642
    www.visitthelab.com

  • RE: Images from Database into W

    I've found that a good way to store images was not in the database, but
    in files on the server in GIF format and then store the filenames in the
    database. That way you avoid the BinaryData mess, the cursor
    requirement for blobs, and can store in a compressed form..
    You just have the service read in the image from the data file and pass
    it back to the requestor, if I remember right.. Also nice because the
    same GIF files can be used in normal HTML web pages..
    -Greg
    Greg Nyberg, Senior Consultant
    BORN Information Services Group
    (612) 404-4217 Fax: (612) 404-4440
    <[email protected]>
    From: Brendan Duddridge[SMTP:[email protected]]
    Sent: Monday, April 28, 1997 12:28 PM
    To: Forte ListServe
    Subject: Images from Database into W
    TransCanada PipeLines P.O. Box
    1000, Station
    M
    Calgary,
    Alberta, T2P
    4K5
    Telephone:
    (403)
    267-6100
    FAX: (403)
    267-6444/5/6
    Corporate Head Office
    Reply: Images from Database into Web SDK 1.1 page
    Hi,
    I want to be able to read images in from a database and have Forte
    generate a web page with those images.
    Does anyone know what the MIME type would be for a Forte ImageData
    object? Do I have to store the images into the database in gif format
    or is there some other MIME format that Forte uses to store ImageData
    objects. Also, can Netscape or Internet Explorer read those images?
    Here is the ReturnImage page builder method I created:
    =============================================================
    Response : HTTPResponse = new();
    LUIObject_ID : Integer;
    LUIObject_TD : TextData = new();
    aLUIObject : LUIObject;
    aBinaryData : BinaryData = new();
    aStream : MemoryStream = new();
    // Retrieve LUIObject_ID from http parameters
    LUIObject_TD = pRequest.FindNameValue('LUIObject_ID');
    LUIObject_ID = LUIObject_TD.IntegerValue;
    // Retrieve aLUIObject for the specified LUIObject_ID from the
    database.
    // This object contains various ImageData attributes which contain the
    // icons to display on the web page.
    aLUIObject = SODIInfraSOMgrSO.SelectLUIObject(LUIObject_ID);
    aBinaryData.SetAllocatedSize(aLUIObject.ClosedLargeIconSize);
    aStream.Open(accessMode = SP_AM_READ_WRITE, isBinary = TRUE);
    aStream.WriteSerialized(object=aLUIObject.ClosedLargeIcon);
    aStream.Seek(0);
    aStream.ReadBinary(target = aBinaryData);
    // Not sure what MIME type to specify here for ImageData objects
    // read in from a database. Any ideas??????????
    Response.AssignBinaryResponse(aBinaryData, 'image/x-bitmap');
    return Response;
    ===============================================================
    Thanks,
    Brendan Duddridge

    Hello Denis Segard,
    I also try the same method and I use OLE container to store the images into database in Oracle forms 6i.
    But, if i try to retrieve the images in report i got that error.
    Anyway i store the images into the database but why i shouldn't retrieve it in reports and i can retrieve the images in forms
    Is there any problem in my design.
    Is there any other easy way to store the images into database in oracle forms 6i...
    Waiting 4 ur reply!!!!!!!!
    Edited by: Janarthan on Aug 19, 2011 12:36 AM
    Edited by: Janarthan on Aug 19, 2011 12:39 AM

  • How to retrive images from data base

    I am facing problem to retriving image data from
    DATABASE
    and how can i so that retrived image into web page
    plz help me

    Look at the URL below:
    How to store/retrieve image to/from SQLServer
    http://www.java-tips.org/content/view/203/29/
    Example below fetch pdf doc from database and show in browser, in order to show image the only difference would be setting the content type to
    response.setContentType("image/jpeg");
    How to view XLS documents loaded from database in the web browser
    http://www.java-tips.org/content/view/844/29/

  • When I import or drag/drop an image from Finder into Pages, it floats the image instead of keeping it inline with text

    I'm new to Pages and I've searched online for an answer to this question but haven't found anything quite what I need.
    When I import an image from Finder (or drag and drop from Finder) into Pages, the Text Wrap default is "automatic" which seems to be "in front of text." I have to manually click each image and then change it from "Automatic" to "Inline With Text." Is there a way to change the default so it's not "Automatic" but "Inline With Text" to save me these steps for every single image I import?
    (If importing from Media Browser would behave differently, I don't use iPhoto except for Photo Stream so I need to bring them in from where I've saved them in my Finder.)
    Thanks so much for any help!

    Good questions...  I'll have to try and figure out when the problem first happened - I was thinking it was when I upgraded to Safari 5.1.4 but that might not be the case...  I'll try your suggestions to see if any of them eliminate the problem (I have restarted recenlty and that didn't fix it) but I'll try repairing permissions,etc.  Thanks!
    hmmm... Mcbuffy: are you implying that you *don't* get the webloc when dragging an image out of Safari and that this isn't a caused by change to Safari but is a big/conflict in mine?

  • Can't drag image from browser into Artwork panel

    Hey all,
    This is on Snow Leopard, using the latest iTunes and Firefox versions.
    When a file (or group of files) lacks artwork, I often use Google Images, find the appropriate image, drag the image to the desktop, then drag the image from the desktop into the mp3 file's "Artwork" panel when you have "Get Info" opened--and then delete the file on the desktop. There's too many steps.
    Is there however some way to directly drag the image from Firefox directly into iTunes? And if not, is there some other easier way to add artwork?
    Thank you for any tips.

    Jolly Giant wrote:
    you can add artwork by going these routes:
    select them all in iTunes, +get info+, copy the image out of e.g. Safari or Preview, click once into the artwork box and paste the image into it.
    Oh! I like this method. Saves the step of having to place it somewhere on the hard drive and deleting it after. Thank you, Jolly Giant.

  • Open Photoshop image from PDF into Photoshop and change cmyk text to 100% black

    when I have a supplied PDF file that has cmyk text, I open the image in Photoshop but I don't know how to change the cmyk text (some very small and some large) to 100% Black. I used to know the short cut key to do this but I can't remember. I used to use the marque tool then use a short cut key that would knock the cmy out of the k. Can some one please tell me how I can achieve this in a flattened photoshop file opened from PDF into Photoshop. Thanks

    One way to do this:
    Use a hue/saturation adjustment layer, click the Colorize box and drag the Lightness slider to -100. The black will go to C:0, M:0 Y:0, K:100. I'm not aware of a shortcut for this, perhaps someone more informed could help there. You would only want to apply it to the text, clipped to a separate text layer ideally, but if your file is already flattened you could apply it via a selection/masking.
    Mike

  • Can I copy an image from Safari into a Keynote presentation?

    I want to copy images and charts from Safari into my presentation but my iPad won't allow me to select anything on the screen.

    If you press and hold an image in Safari, then after a second or so you should get a popup with Save Image (which should save it to the camera roll/saved photos album in the Photos app) and Copy as options.

  • How can i retrive image from sql database

    hi
    i have a problem.i want to retrive image stored in a table in binary form.how can i retrive the image from the table and show it in my page how can i do this? i have a sql database.plz help me out....

    hi
    my java file has compiled now i have made these changes plz see
         public InputStream getBinaryStream(String colname) throws Exception
              return rs.getBinaryStream(colname);
         public boolean GetSig() throws Exception
              boolean b=false;
              try
                   ps=myConn.prepareStatement("Select Sign from Signatures where Accode='1201780000000083' ");               
                   rs=ps.executeQuery();
                   b=true;
              catch(Exception e)
                   System.out.println("This is the problem"+e);
              return b;
    //          now how can i get it in my jsp page and disply the image in my page i am writing this code in the jsp file
    SIGN.makeConnection();
                                                      if(SIGN.GetSig())
                                                                while(SIGN.getNext())
                                                                               Stream Signatures=SIGN.getBinaryStream("Sign");
                                                                               System.out.println("Signatures is"+Signatures);
    %>
    <%=Signatures%>
    <%                                                                                                                                                                          }
                                                 SIGN.takeDown();
    %>
    this error is coming in the browser
    org.apache.jasper.JasperException: Unable to compile class for JSPD:\jakarta-tomcat-3.2.2\work\localhost_8080%2Fbackoffice\_0002fcdsl_0002fsignatures_0002ejspsignatures_jsp_0.java:96: Class cdsl.Stream not found.
                                                                               Stream Signatures=SIGN.getBinaryStream("Sign");
    plz see...i am waiting for reply

  • How do I import GPS information for all of my images from Bridge into Lightroom 5.3?

    After importing my images into Lightroom 5.3, I discovered that the GPS location data was imported for some images, but not for others.  When I checked the metadata files for the same images in Bridge, the location data was present for all of my recently downloaded images.
    Why would Lightroom import the GPS data for some images and not others?
    Is there any way to import the location data from the Bridge metadata files into Lightroom?

    Tony,
    Thank you for your suggestion.  I had already tried several approaches along those lines without success.  In the end, the GPS data was still present in Bridge metadata file for each image, but not in the Lightroom metadata files for the same images.
    So, I went back to Lightroom, and did some further exploring on the internet for solutions.  Just as I was wondering whether or not the problem might be rooted in my download presets (i.e., setting copyright into, etc.), I stumbled across a reference by a Pentax owner that identified the same problem.  Here's the link:
    http://www.pentaxforums.com/forums/115-pentax-k-5/203274-gps-data-not-importing-into-light room-4-2-a.html
    In a nutshell, I can download all of the metadata, including the GPS location information, but only if I do NOT use any metadata presets.  If I use a metadata preset when downloading my images, no GPS data can be seen in the Lightroom metadata files, but it does import into Bridge's metadata files.  I've now tried this both ways, several times now, and have verified this result. 
    I also tried re-downloading images with no presets, and replacing (copying over) the image from my original download.  This did not solve the missing GPS data in the Lightroom metadata.  From this point, all that I could think of doing was removing all of my recent downloads from Lightroom, and starting over.  However, I'd already started editing my images, and I didn't want to lose that time.
    So, I re-downloaded all of my recent images from my memory cards as a copy into each file without any metadata presets.  Then, after selecting the copy first, followed by selecting the original (order is important), I toggled 'Sync Metadata' under the Metadata tab in Lightroom.  Voila, the GPS data appeared in the original metadata.  When this is done for all of my images, I will delete the second copies in my files.  Once I am satisfied that everything is okay, and my images are backed up satisfactorily, and only then, will I reformat my memory cards. 
    This whole experience has surfaced an interesting quirk in Lightroom, or in my Lightroom settings that I don't understand.  It may be something that Adobe might want to look into further, if others are finding a similar problem.

  • Photoshop CS5 - drag images from web into photoshop issue

    Has anyone had this happen or know a solution? Photoshop CS5 at work does this, but the one I bought for home doesn't... weird
    When I drag an image from the web directly into Photoshop, the program almost freezes, I can select tools, but cant use them, I can get the handles to display with Free Transform, but then cant scale it. I have to actually close the file, then re-open it to continue working.

              The exact same thing happens with my photoshop CS5! very irritating! My boyfriends photoshop CS5 works fine and does not have this problem either! HELP!

  • Opening/Dragging Images from Desktop into Photoshop CS4

    I'm trying to import/drag/open a png image file from finder, my desktop, or anywhere on my hard drive into an existing photoshop document.  Unfortunately, the image does not drop into the existing document; it just bounces off.  No new layer is created.  When I try to import the photo manually from File-->Open, the image is opened in a new document instead of the existing one.
    This only occurs for images saved on my hard drive.  Any image pulled from a web browser and dragged/dropped into the document creates a layer.  I'm running Snow Leopard.
    I've installed the latest software updates to Snow Leopard and installed the latest CS4 patch, version 11.0.2.
    Any help would be greatly appreciated.
    Regards,
    Alex Doan

    Excuse me
    Tai Lao wrote:
    akdoan wrote:
    …This only occurs for images saved on my hard drive.  Any image pulled from a web browser and dragged/dropped into the document creates a layer…
    That's because when you "drag" from the web browser, you are performing a copy-and-paste from one application to another one. The Finder is not involved.  As I said earlier, "The Finder knows nothing about dragging Photoshop layers."
    My original post was poorly written.  Please ignore my digression on file-->open, which loads the image into a new layer in a new document, which it has always done and like you said, is normal behavior. 
    I was emphasizing that I can't find a way to directly insert a photo from the OS (Snow Leopard) running CS4 into an existing document in one step.  The directory path of the file on the OS is meaningless in regard to this behavior.
    Tai Lao wrote:That is perfectly normal, expected behavior. The Finder is not involved.  As I said earlier, "Are you suggesting it used to behave any differently for you earlier? ??? !!
    I am running CS5 on Snow Leopard on another computer.  Dragging and dropping a picture located anywhere on the OS into an existing document works flawlessly, and loads the image into a new layer within the open document. 
    You've lost the script by focusing on the finder.  The file path of the image, whatever it is:
    /Users/alex/Desktop/image.png
    /Users/alex/Documents/image.png
    /Users/alex/Pictures/image.png
    should be meaningless.
    Dragging and dropping an image from OS X to Photoshop is the rule and this failure the exception.
    There is something I'm not doing or a misconfiguration causing this.

  • Unable to import new images from finder into lightroom 5 since update

    Since I updated my Lightroom 5 and Photshop CS6, I have been unable to import images from my finder (MacPro) or save edited images from Photoshop editor back into my Lightroom 5 library. Please help!

    I Managed to edit images in Lightroom and then clicked on photo editor photoshop to make further editiding.After i click on save, it doesn't come back into my Lightroom 5 library.
    i Then saved the image into my computer and tried to import from there, but images quickly appear and then disappear :-(
    thanks for the quick reply!

Maybe you are looking for

  • IBook can no longer connect to wireless network

    I have a wireless network set up in my home using a Linksys wireless router. While it has worked fine in the past, I can no longer connect to it with my G4 iBook running 10.3.9. It shows up in my network connections with a strong signal but when I op

  • Power cord is not working

    My Powerbook G4 cord is plugged into the jack, but it won't light up - and consequently won't charge.  Is the cord broken?  Can I charge the computer any other way?

  • Find a specific character in an input string and getting the string after if

    Hello, my requirement is as such, lets say we have an input string ABHISHEK #1234, or BOMBAY 123 #235, i need to find if the character string has # in it,, if yes pick all the numbers after # . in the above example, i need output as 1234 and 235 and

  • Server Logs

    In SQL Server we have whats called SQL Server Logs that contains history info about the Databases and security etc. What are they in Oracle 9i and how do you view them OEM?

  • Steps to create a Repository

    hi there, Can you guide me the steps to create a repository? thanks