Previewing Images before saving to database

I have an application where the user can browse and select an image that he wants to set as his profile pic. I need to display the selected image to the user and after confirmation save it to the database. I am able to save the image to database and retrieve it from database without any problems. But I have no clue as to how to display the selected image to the user for preview. Any help will be greatly appreciated.
Thanks

can u check the protection level for the AND standard item. looks like its not accessible from the login you are using
hth
satish paul
Hi,
After creating a simple Itemtype through Quickstart Wizard, if I try to save in to database I am getting the error stating
1602: Could not save
1400: Could not save to database. MODE=UPDATE EFFDATE=2002/07/24 18:53:16
1404: Please first load this entity or check protect and custom level of ACTIVITY 'WFSTD/AND'
Even, after loading sample workflow file(flat file format) and if I try to save them in to database I am getting the same error.
More over,
If I load the existing samples(eq Requisition) from database, I can't see the processes, notifications, functions, etc in the navigator window. All these things were working fine before.
Please advise what may be the reason for this. I installed oracle9i database and workflow version 2.6.2 in win2000. Everything was working fine.
Expecting a quick answer as this is critical for my project.

Similar Messages

  • Aperture Preview Images Before Import

    Hi,
    I have a doubt as to wheter I missinterpreted or a function is in fact not enabled in Aperture altought it is mentioned in the description of Aperture features.
    In this webpage https://www.apple.com/aperture/features/#import on the "Preview Images Before Import" area one can read "Double-click any image in the Import window to view it at a larger size. You can also play video and audio clips before importing them.". Thou when I try to preview (or Quick Look) an image or video in the Import window from my iPod touch by double-clicking nothing happens ?!? Did I missinterpret? Is this behaviour not valid for iOS (iPod's or iPhone's) devices for some reason?
    Please help me understand as previewing a video is extremelly valuable for me to know what to name the file before importing.
    Thank you.
    André

    I must say this seems to me like a slightly false (or at the least missleading) advertisement.
    I understand that iOS can pose a different protocol, but then one should not use a sentence like "Double-click any image in the Import window ".
    You may want to send this feedback to the developer team using the feedback form:
    Apple - Aperture - Feedback
    The documentation could frofit from some corrections-

  • Preview image for videos on flash website. Help!

    Hi, I'm not sure if I'm at that right place so sorry if I'm wasting your time by asking this question but I'm having problems with my flash website.
    I want the video on my website to show a preview image before the video is played instead of it displaying a blank black frame. I went on component inspector - preview - and selected the frame of the animation that I wanted to be shown. But when I came to uploading my swf and html file the preview image for the video is still black. On component inspector - preview - it says 'To generate a runtime preview image, use the export button and load the image back by writing your own actionscript'. So I exported the image but I haven't got a clue how to write my own actionscript. I've spent hours trying to find help on this but I haven't been successful.
    Do you know how I can sort this out? Thank you

    Have a look at this tutorial: http://web.archive.org/web/20081012122149/http://www.monkeyflash.com/flash/poster_frame_fo r_flash_video/
    If you still have questions, ask again.

  • Print Preview of PO before saving .

    Dear Experts ,
    Is it possible to view a print preview of a PO after  just checking the PO & before saving it ??
    If yes pls let me know how ?
    Regards
    Anis

    Hi Anis,
    yes, you can view a PO in print preview in ME21N before saving it but the following are pre-requisities:
    1 - There are valid messages defined for the PO - check by clicking on 'Messages' at the top of the screen. So long as there is a message defined, you can display, if not, add the output type that you would like to use (NEU for example).
    2 - The output type must be pointing correctly to a printer or valid e-mail address (for e-mail outputs)
    3 - You must have access to transaction ME9F in authorisations - although you are not navigating to ME9F, you will still need the access
    If these things are OK, click on print preview and you will get an image of what the printed document will look like.
    Rob

  • Previewing an image before uploading it using the FileReference class

    Previewing an image before uploading it using the FileReference class in flash player 3 not in SDK4

    Previewing an image before uploading it using the FileReference class in flash player 3 not in SDK4

  • Previewing an image before uploading it using the FileReference class in flex 3

    Previewing an image before uploading it using the FileReference class in flex 3 ?

    hai,
              when this code is used in my application ,i got the name of image and new frame is added each time .But image is not displayed.....
    The code  starts like this
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas xmlns:fx="http://ns.adobe.com/mxml/2009"
               xmlns:s="library://ns.adobe.com/flex/spark"
                xmlns:mx="library://ns.adobe.com/flex/mx" initialize="init()"   backgroundColor="white" width="100%" height="100%">
        <fx:Script>
    <![CDATA[ 
                    import mx.controls.Alert;
                    import mx.messaging.Channel;
                    import mx.messaging.ChannelSet;
                    import mx.messaging.channels.AMFChannel;
                    import mx.rpc.events.ResultEvent;
                    import mx.controls.Image;
                    import spark.events.IndexChangeEvent;
                    import mx.managers.DragManager;
      <mx:DataGridColumn headerText="Dimension Value"  width="10" dataField="dimensionValue"/>
                                                   <mx:DataGridColumn headerText="Unit Nmae"  width="10" dataField="dimensionUnitName"/>
                                                   </mx:columns>
                                           </mx:DataGrid>
                                           <mx:Spacer width="2%"/>
                                       </mx:HDividedBox>
                                       </mx:VBox>
                   <mx:Spacer height="0"/>
                <mx:VBox width="100%">
                    <s:HGroup height="90" top="0" left="0" right="0" verticalAlign="justify" gap="10" paddingLeft="5" paddingRight="5" paddingTop="5" paddingBottom="5">
                        <s:Button id="btn_loader" top="5" bottom="24" width="100" label="load" click="loadImages()"/>
                        <s:Group width="100%">
                            <s:Group name="cl" top="0" left="0" bottom="0" width="20" mouseOver="//scroll_on(event)" mouseOut="//scroll_off(event)">
                                <s:BitmapImage source="@Embed('../assets/left.jpg')" top="0" left="0" bottom="0" right="0" fillMode="scale"/>   
                            </s:Group>
                            <s:List id="imgList" skinClass="skins.ListSkin" top="-3" left="27" right="28" bottom="10"
                                    dataProvider="{ImageCollection}" itemRenderer="Image_Render">
                                <s:layout>
                                    <s:HorizontalLayout gap="0"/>
                                </s:layout>
                            </s:List>
                            <s:Group name="cr" top="0" right="0" bottom="0" width="20" mouseOver="//scroll_on(event)" mouseOut="//scroll_off(event)">
                                <s:BitmapImage source="@Embed('../assets/right.jpg')" top="-1" left="0" bottom="0" right="0" fillMode="scale"/>
                            </s:Group>
                        </s:Group>
                    </s:HGroup>
                    <s:SkinnableContainer id="dropCanvas" top="100" left="5" right="5" bottom="5" backgroundAlpha="1.0" alpha="1.0"
                                          dragEnter="dropCanvas_dragEnterHandler(event)"
                                          dragDrop="dropCanvas_dragDropHandler(event)" contentBackgroundColor="#914E4E" backgroundColor="#F7F7F7">
                    </s:SkinnableContainer>
                </mx:VBox>
                <mx:Spacer height="5"/>
                                      </mx:VDividedBox>
        </mx:Panel>
    </mx:Canvas>

  • Previewing an image before uploading

    Hi,
    I would like to upload images in my application and save those uploaded images to one folder in my system, i could do that with any problem. But i have to preview the image before uploading.
    How to do this in JSP or either in html?
    please help me in doing this..
    thanks in advance

    Write the image to some temporary location in your server machine. Either public or non-public. If non-public, you could use a servlet to display the image. If the end user has somehow confirmed the preview, then just move that image to the desired permanent location.
    Working with file paths isn't going to work. IE is the only browser which is so dumb that it sends the complete client side file path along with the file name. In other browsers you won't know from which client side path the image is been uploaded.

  • Print preview before saving for notification

    Hi all,
    When creating a notification in IW51, user could preview nothing before he/she saves the notification. What method could be used in the print program so that the preview shows the contents before saving?
    Thanks!

    Hi Macy lo,
    In the SSF_OPEN function module,
    Set the OUTPUT OPTIONS paramter TDDEST to your printer name.
    Set the CONTROL PARAMETERS and control parameters as shown below,
    control-preview = 'X'.
    control-no_open = 'X'.
    control-no_close = 'X'.
    control-no_dialog = 'X'.
    control-device = 'PRINTER'.
    control_parameters-no_dialog = 'X'.
    control_parameters-no_open = 'X'.
    control_parameters-no_close = 'X'.
    OUTPUT_OPTIONS-TDDEST = 'PRINTER NAME'.
    OUTPUT_OPTIONS-TDNOPRINT = 'X'.
    CALL FUNCTION 'SSF_OPEN'
    EXPORTING
    output_options = output_options
    control_parameters = control
    user_settings = ' '
    EXCEPTIONS
    formatting_error = 1
    internal_error = 2
    send_error = 3
    user_canceled = 4
    OTHERS = 5.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    Regards,
    sravanthi

  • Prin preview of item text before saving PO

    Hello,
    when I create a PO I can use the print preview of the PO before actually creating/saving the PO. However if I do this I can't see the item text. The item text is only visible in the print preview after the PO is saved.
    Do you know if it is possible to change this so I can see the item text before saving in teh print preview?
    Thanks
    Sofia

    You need to take ABAPer help and see the Print pre-view parameters maintained for the Script/Smartform for the PO Output Type you are using..
    If possible try to include the Item text into those parameters..
    As far as I know only for MEDRUCK script, we can see the print pre-view..

  • Saving an Image to an Oracle Database over the Internet

    I would like to know how to transfer an image over the Internet and save that image to an Oracle Database. That is I am trying to make it so that a user can connect to the Internet and select an image file form their PC in TIFF, JPEG, or some other format. Next, I would like to save this image to an Oracle 7.3.4 Database in a LongRaw data type. This image will need to be save into a certain record in a table that I created. In the next few months we will be upgrading to Oracle 8 that uses Blob data type. Any one who knows how this can be done, please let me know.

    Yes, that's right. Here is the pertinent code:
    In the flax app:
    private function captureImg(imgEnc:IImageEncoder):void { 
    var ohSnap:ImageSnapshot;ohSnap = ImageSnapshot.captureImage(img, 0, imgEnc);
    textArea.text = ImageSnapshot.encodeImageAsBase64(ohSnap);
    InsertImage(textArea.text);
    In the HTTP service AS module:
    private  
    function InsertImage(sImageCoded:String):void { var sQry:String;sQry =  
    "INSERT INTO image (lImageId, blbBitMap, txtImage, lRecipeId) " sQry +=
    "VALUES(0, '" +sImageCoded +"', 'text', 23)"  
    //Alert.show(sQry);mysqlQuery(sQry,
    "InsertImage");}
    As mentioned previously, an HTTPrequest error is generated although I can enter
    the string into the blob manually in MySQL.
    Scott

  • Previewing images in forms 11g from the server

    Hi All,
    i need your help in this issue please
    i've just migrated my application from forms 6i to forms 11g
    there is a function in my application that i used that previewed images that exists on a network drive that are used in an image gallary
    now i don't have this setup as the application is hosted on the weblogic server
    i want an alternative method that i can use to preview the images from the server
    the old way was:
    read_image_file('.\default_image.jpg','any','preview.image_preview'); --this shows a default image if no image was selected
    if :search_results.file_path is not null then     
         read_image_file(:preview.image_path||'\'||:search_results.file_path,'any','preview.image_preview');     -- this shows the image that we retreived it's name from the database but it exists on the file system
    end if;
    i've configured the webutil but i don't know what method to use
    also another functionality that i lost in the migration is opening a browser window to preview the final article that the editor entered using my application
    the old way was:
    declare
         url varchar2(1000);
    begin     
         url:='http://10.100.100.197:55/allcontent/allcontentimages/'||:SEARCH_RESULTS.FILE_PATH||'';
    WIN_API_SHELL.WinExec('"C:\Program Files\Internet Explorer\IEXPLORE.EXE" '||url||'',
    WIN_API.SW_SHOWMAXIMIZED,TRUE);
    Exception when NO_DATA_FOUND then
    MESSAGE('CAN NOT FIND THE FILE');
    end;
    now ithe WIN_API_SHELL is not working as i'm on the server side and i don't know the alternative
    please advice

    Hello Nivin
    If you want to read an file from local drive or from netwrok drive then before reading images please make sure that do you have full rights and have you mapped that network drive .
    after that you use read_image_file built in(). secondly you configure WEBUTIL package.
    please visit the following link for configuring webutil.
    I configured my webutil package from this link and its worked fine.
    http://www.baigzeeshan.com/2010/01/open-file-dailog-box-example-using.html
    thanks
    G.Yassen

  • Could not change preview image of video in PublishingWebControls:MediaFieldControl

    Here are the steps I have done:
    Create a new Site Column of Media Field type, called Media.
    Create new Content Type that inherits from Page content type, called Media Page Content Type.
    Add a column from newly-added Media site column to Media Page Content Type.
    Create a new page layout that uses Media Page Content Type.
    Create a new page that applies the new page layout.
    Specify a video for the media field of the page.
    Up to this point everything was working well. The video could display with default preview image.
    But when I tried to change the preview image using the button in Media ribbon menu of the page, then saves the page. The preview image could not be saved.
    Anyone has faced this issue before?
    I have tried this on both SharePoint Online and on-premise and it gave the same effect.
    Thanks in advance and appreciated if any idea or solution.

    "Use ECMAScript (JavaScript, JScript) to add a Set Thumbnail button. When a user clicks Set Thumbnail, the JavaScript object model for the MediaWebPart object captures
    the appropriate frame, calls the Silverlight application on the page to store the thumbnail image in the Thumbnails library, sets the URL for the thumbnail image automatically for the video, and hides the PreviewImageUrl field from view on the form."
    http://msdn.microsoft.com/en-us/library/ff394411.aspx
    If this helped you resolve your issue, please mark it Answered

  • Trying to place an image before a video starts

    I have a very preliminary website with some flash and video. It passes the validator. The flash and video work but the video software isn't able to show any of the video until someone presses the play button - it just shows a black box.
    According to the video software provider, their player can't show a preview image. I wonder if it's possible to "overlay" an image with the same div, then have it disappear or move to the background when the play button is clicked.
    Failing that, does anyone know of a similar program which can insert a video easily into Dreamweaver? The one I'm using was cheap and easy but if it can't/won't do what I need it's a waste of time and effort.
    For some reason I can't paste the code...

    I don't think the suggested method (<div> background image) will work with the example Web page video you linked to.... here is why...
    Inside the <div> is code for a special Windows Media Player... (not a very good choice by the way)... meaning that the <div class="videobox"> has content (the video player) which will cover over the background image.... leaving the black box and some controls showing.
    Code also contains an IE conditional statement and nothing in the
    <!--[if !IE]>
    so nothing displays in FF.... nix all that player code and use something else.
    A better route (in my opinion) would be to first choose a better video type than mpeg (better compression and quality per file size)... choose an mp4 for example.
    Now you have a much wider range of player options.
    For example:
    http://flowplayer.org/
    http://www.pickleplayer.com/
    http://www.longtailvideo.com/players
    Any of these players plus an mp4 file would be much better than your current choice. They all support a "poster frame"... or image that displays before the video starts.
    If you need to convert mpeg to mp4, Handbrake does a good job:
    http://handbrake.fr/
    Best wishes,
    Adninjastrator

  • I am unable to get same preview image colors in Bridge and Lightroom

    I am unable to get same file preview in Bridge and Lightroom. The Lightroom preview image (in both the Library and Develop) is more de-saturated. But the exported/saved jpegs match. If I try to match the Lightroom preview image to the Bridge preview image, the resulting Lightroom  export colors are off. I have tried this with images with no changes and with changes and the result is the same. I have Lightroom 5.6 and CR 8.6. I am using the latest version of Bridge.
    I contacted Adobe support and followed all instructions to try to fix but the problem remains. This comment was made after several solutions were tried, including updating Lightroom. :
    Adobe: there would be little difference in case of preview of Bridge CC and Lightroom 5. However, after exporting it would be same. Both use different technology at the background and work in a different way. The preview which you see in lightroom is not the actual image but incase of Bridge you see the actual image ( original ). That's the reason there is a color variation between previews.
    Me: But how can I then use the Lightroom preview to get accurate colors when processing a RAW file? If I do adjustments to the RAW file in Lightroom it looks different when exported. That doesn't seem to make sense when Lightroom is designed for photograhy
    Adobe: Please check in develop module of lightroom.
    Me: Nothing changes in the develop mode. The image looks the same as in the preview/Library mode.
    This screenshot shows the unmodified images in Develop (Lightroom) and ACR (Bridge). The color differences are significant.
    Lightroom exported jpeg file, unmodified from preview image in Develop (which looks like Bridge preview image not the Lightroom preview)
    Bridge saved jpeg file, unmodified from preview image in ACR
    Any suggestions on what I need to do to Lightroom to make it show accurate colors. If not, I don't see any point in using it to process files.
    Thanks, Marie

    Bridge is just a browser. It displays according to the embedded color profile but assumes sRGB for all untagged images.
    In Lightroom library previews use Adobe RGB and in Develop the working space is Pro Photo RGB.
    The real question is why use both Bridge and Lightroom. Stick to one, not both.

  • How to make the fields of BPM object not saved in database.

    Is it possible to declare some attributes of BPM object not saved in database.
    For example: Order has attribute orderId and date, user (other attributes)... we only want OBPM save orderId. We want the other attributes could be saved and retrieved by external DAO classes.
    We still want to use the OOTB presentation from BPM object (not the customer jsp).
    Thanks

    When you say:
    Is it possible to declare some attributes of BPM object not saved in database.do you mean you do not want the information stored in the Oracle BPM Engine's database?
    If this is the case, create a BPM Object with just two attributes. One would store your orderId as a primitive data type. The other attribute would be a BPM Object that would store all the other data you are going to retrieve from the external database.
    At the beginning of the screenflow, read the database using the orderId attribute and populate the other attribute (the BPM Object). At the end of the screenflow just before it flows to the end activity, you could set the second attribute (again, the BPM Object attribute) to null. This would keep the BPM object with the two attributes from storing anything but the orderId in the Engine's database table for the work item instance.
    Dan

Maybe you are looking for

  • Purchase Order and Purchase Request

    Hi Gurus, do you know how can I get a Purchase Request Number for an item in Purchase Order? I cannot find it in any BI Content Data Source... Regards, Dorota

  • Clientgen ant task throwing errors in Weblogic 8.1 SP4

    When I try to run clientgen ant task for a WSDL (pertaining to a .NET webservice on a non-weblogic server) in Weblogic 8.1 SP4, I'm getting the following errors. I'm running setEnv command, clientgen ant task from command prompt in WLS_HOME/user_proj

  • Process chains failing - There is no path from LOADING (ipak) to PSAPROCESS

    Hello In the load process type of my process chain I am loading till PSA. I am using the process type - update from PSA for 3 ODSs and loading all of them to the cube. one of these three process types is finishing successfully. For rest of the two I

  • Customer maintain in Vendor "Control" table

    Dear Experts, Can anyone please advice what is the purpose of maintaining a Customer for a Vendor? Thank you very much, Regards, Chee Wee

  • Plerase suggest best ways for BPM configuration

    Hi Experts, My Scenarios is as : In BPM, first step is calling a synchronous Web Service (A), response of this will be used to call two seperate services( B & C). Service B will use the direct response from A and sends a response. Service C need to u