Upload image with HTML DB

HOW CAN I DO FOR INSERTING AN IMAGE FROM C:\PHOTO.JPG IN HTML DB?
THANKS

It's easy! Go to the following link:
http://www.oracle.com/technology/products/database/htmldb/howtos/howto_change_logo.html>>
Good Luck!
Regina

Similar Messages

  • Problem uploading images with php script.

    As a webdebdesigner i developped a cms system to upload images with php to a mysql database. Firefox version 5.0.1 for MAC and earlier have no problems with uploading through the script. But after that version it is impossible to upload images bigger then 250kb. The page where the customer chooses his image for upload stalls and the form is not sent to the actual upload script, which should validate and process the image.
    This problem only occurs in Firefox, all other browsers work just fine!
    On top of that: Giving feedback to firefox not possible for MAC.

    Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web site development issues with Firefox. <br />
    http://forums.mozillazine.org/viewforum.php?f=25 <br />
    You'll need to register and login to be able to post in that forum.

  • Wordpress http error while uploading images with flash

    Hi guys
    I have a problem with my wordpress blog " bollywood wallpapers ". When I try to upload images with defualt wordpress flash uploader I get "http" error.
    I am having this problem from last 5 months.

    Dear Siva,
    that is indeed strange.
    Still don't know if this could be an issue with your NWDS or the PAR itself.
    So let's do 2 tests
    ===============================================
    TEST NR. 1
    Let's try and check the NWDS first by creating a custom PAR.
    Don't worry, it's easy.
    Just open your NWDS and go to the top menu
    File > New > Project
    Inside the popup window that will open please choose
    Portal Application (on the left) and Create a Portal Application Project (on the right)
    Then give any name you would like (no spaces or dots, etc...)
    You now have a Portal project created on NWDS ( you will see a folder on the left side with your project name)
    Click on that folder with your LEFT mouse button and choose EXPORT
    Choose PAR File
    Choose your Project
    Choose a path where you want your PAR file to be saved. (uncheck the deploy PAR file, but check the include the source code).
    And click Finish.
    Now delete the project you have created (by clicking on the folder with your LEFT mouse button again, but chose DELETE project)
    Now you're ready to re-import the PAR file.
    ===============================================
    TEST NR. 2
    Maybe your standard PAR file that you've downloaded doesn't have the source code included or is corrupted.
    Please try to open it with a ZIP program and check what type of structure/files you have there.
    Have you also checked your NWDS log ?
    You could also share here that log, so that I can better help you.
    Kindest Regards
    /Ricardo

  • Upload image with Zprogram instead se78

    Dear Gurus ,
    I founf in sdn a useful program that upload images instead se78.
    It works fine but i cant find how to pass the Description of the image....
    Can you give me a hint ?
    Look the code ....
    REPORT  ZTEST2.
    TYPE-POOLS: SBDST.
    TABLES: STXBITMAPS.
    CONSTANTS:
      C_BDS_CLASSNAME TYPE SBDST_CLASSNAME VALUE 'DEVC_STXD_BITMAP',
      C_BDS_CLASSTYPE TYPE SBDST_CLASSTYPE VALUE 'OT',          " others
      C_BDS_MIMETYPE  TYPE BDS_MIMETP      VALUE 'application/octet-stream',
      C_BDS_ORIGINAL  TYPE SBDST_DOC_VAR_TG VALUE 'OR'.
    * Globals and globals for dynpro fields
    DATA: G_OBJECTTYPE(20)   TYPE C,
          G_NEW_RESOLUTION   LIKE STXBITMAPS-RESOLUTION,
          G_STXBITMAPS       TYPE STXBITMAPS,
          G_STXH             TYPE STXH,
          G_TECHINFO         TYPE RSSCG,
          T_SIZE(40),
          BDS_DESCRIPTION  LIKE BAPISIGNAT-PROP_VALUE VALUE 'LALALA'.
    CONSTANTS:
          C_OBJECTTYPE_BDS      LIKE G_OBJECTTYPE VALUE 'BDS',
          C_OBJECTTYPE_STDTEXT  LIKE G_OBJECTTYPE VALUE 'OBTEXT',
          C_OBJECTTYPE_GRTEXT   LIKE G_OBJECTTYPE VALUE 'OBGRAPHICS'.
    DATA: P_FILENAME       TYPE RLGRAP-FILENAME,
                   P_OBJECT         TYPE STXBITMAPS-TDOBJECT,
                   P_ID             TYPE STXBITMAPS-TDID,
                   P_BTYPE          TYPE STXBITMAPS-TDBTYPE,
                   P_FORMAT         TYPE C,
                   P_TITLE          LIKE BDS_DESCRIPTION,
                   P_RESIDENT       TYPE STXBITMAPS-RESIDENT,
                   P_AUTOHEIGHT     TYPE STXBITMAPS-AUTOHEIGHT,
                   P_BMCOMP         TYPE STXBITMAPS-BMCOMP.
    DATA  L_FILE TYPE STRING..
    DATA: L_FILENAME        TYPE STRING,
          L_BYTECOUNT       TYPE I,
          L_BDS_BYTECOUNT   TYPE I.
    DATA: L_COLOR(1)        TYPE C,
          L_WIDTH_TW        TYPE STXBITMAPS-WIDTHTW,
          L_HEIGHT_TW       TYPE STXBITMAPS-HEIGHTTW,
          L_WIDTH_PIX       TYPE STXBITMAPS-WIDTHPIX,
          L_HEIGHT_PIX      TYPE STXBITMAPS-HEIGHTPIX.
    DATA: L_BDS_OBJECT      TYPE REF TO CL_BDS_DOCUMENT_SET,
          L_BDS_CONTENT     TYPE SBDST_CONTENT,
          L_BDS_COMPONENTS  TYPE SBDST_COMPONENTS,
          WA_BDS_COMPONENTS TYPE LINE OF SBDST_COMPONENTS,
          L_BDS_SIGNATURE   TYPE SBDST_SIGNATURE,
          WA_BDS_SIGNATURE  TYPE LINE OF SBDST_SIGNATURE,
          L_BDS_PROPERTIES  TYPE SBDST_PROPERTIES,
          WA_BDS_PROPERTIES TYPE LINE OF SBDST_PROPERTIES.
    DATA  WA_STXBITMAPS TYPE STXBITMAPS.
    PARAMETERS: P_FILE TYPE  RLGRAP-FILENAME OBLIGATORY.
    PARAMETERS: P_MATNR LIKE MARA-MATNR OBLIGATORY.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
      CALL FUNCTION 'F4_FILENAME'
        EXPORTING
          FIELD_NAME = 'P_FILE'
        IMPORTING
          FILE_NAME  = P_FILE.
    START-OF-SELECTION.
      DATA: P_NAMEX    TYPE STXBITMAPS-TDNAME.
      MOVE P_MATNR TO P_NAMEX.
      DATA: FILELENGTH  TYPE  I.
      DATA: BEGIN OF L_BITMAP OCCURS 0,
              L(64) TYPE X,
            END OF L_BITMAP.
      L_FILE = P_FILE.
    *SELECT SINGLE * FROM STXBITMAPS WHERE TDNAME = P_NAMEX.
    *  IF SY-SUBRC NE 0.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          FILENAME                = L_FILE
          FILETYPE                = 'BIN'
        IMPORTING
          FILELENGTH              = L_BYTECOUNT
        TABLES
          DATA_TAB                = L_BITMAP
        EXCEPTIONS
          FILE_OPEN_ERROR         = 2
          FILE_READ_ERROR         = 3
          NO_BATCH                = 1
          GUI_REFUSE_FILETRANSFER = 4
          INVALID_TYPE            = 5
          NO_AUTHORITY            = 6
          UNKNOWN_ERROR           = 7
          BAD_DATA_FORMAT         = 8
          HEADER_NOT_ALLOWED      = 9
          SEPARATOR_NOT_ALLOWED   = 10
          HEADER_TOO_LONG         = 11
          UNKNOWN_DP_ERROR        = 12
          ACCESS_DENIED           = 13
          DP_OUT_OF_MEMORY        = 14
          DISK_FULL               = 15
          DP_TIMEOUT              = 16
          OTHERS                  = 17.
    *    call method l_bds_object->get_info
    *         exporting
    *              classname  = c_bds_classname
    *              classtype  = c_bds_classtype
    *              object_key = l_object_key
    *         changing
    *              signature  = l_bds_signature
    *         exceptions
    *              nothing_found  = 1
    *              others         = 2.
      DATA: P_DOCID          TYPE STXBITMAPS-DOCID.
      DATA: P_RESOLUTION  LIKE  STXBITMAPS-RESOLUTION.
      DATA: L_OBJECT_KEY TYPE SBDST_OBJECT_KEY.
      CALL FUNCTION 'SAPSCRIPT_CONVERT_BITMAP_BDS'
        EXPORTING
          COLOR                    = 'X'
          FORMAT                   = 'BMP'
          RESIDENT                 = P_RESIDENT
          BITMAP_BYTECOUNT         = L_BYTECOUNT
          COMPRESS_BITMAP          = 'X'
        IMPORTING
          WIDTH_TW                 = L_WIDTH_TW
          HEIGHT_TW                = L_HEIGHT_TW
          WIDTH_PIX                = L_WIDTH_PIX
          HEIGHT_PIX               = L_HEIGHT_PIX
          DPI                      = P_RESOLUTION
          BDS_BYTECOUNT            = L_BDS_BYTECOUNT
        TABLES
          BITMAP_FILE              = L_BITMAP
          BITMAP_FILE_BDS          = L_BDS_CONTENT
        EXCEPTIONS
          FORMAT_NOT_SUPPORTED     = 1
          NO_BMP_FILE              = 2
          BMPERR_INVALID_FORMAT    = 3
          BMPERR_NO_COLORTABLE     = 4
          BMPERR_UNSUP_COMPRESSION = 5
          BMPERR_CORRUPT_RLE_DATA  = 6
          OTHERS                   = 7.
      IF SY-SUBRC <> 0.
      ENDIF.
      CREATE OBJECT L_BDS_OBJECT.
      WA_BDS_COMPONENTS-DOC_COUNT  = '1'.
      WA_BDS_COMPONENTS-COMP_COUNT = '1'.
    WA_BDS_COMPONENTS-MIMETYPE   = C_BDS_MIMETYPE."application/octet-stream
      WA_BDS_COMPONENTS-COMP_SIZE  = L_BDS_BYTECOUNT.
      APPEND WA_BDS_COMPONENTS TO L_BDS_COMPONENTS.
      WA_BDS_SIGNATURE-DOC_COUNT = '1'.
      APPEND WA_BDS_SIGNATURE TO L_BDS_SIGNATURE.
      L_OBJECT_KEY = P_NAMEX.
      CALL METHOD L_BDS_OBJECT->CREATE_WITH_TABLE
        EXPORTING
          CLASSNAME  = C_BDS_CLASSNAME "DEVC_STXD_BITMAP
          CLASSTYPE  = C_BDS_CLASSTYPE "OT
          COMPONENTS = L_BDS_COMPONENTS
          CONTENT    = L_BDS_CONTENT
        CHANGING
          SIGNATURE  = L_BDS_SIGNATURE
          OBJECT_KEY = L_OBJECT_KEY
        EXCEPTIONS
          OTHERS     = 1.
      IF SY-SUBRC = 0.
        READ TABLE L_BDS_SIGNATURE INDEX 1 INTO WA_BDS_SIGNATURE
        TRANSPORTING DOC_ID.
        IF SY-SUBRC = 0.
          P_DOCID = WA_BDS_SIGNATURE-DOC_ID.
          WA_STXBITMAPS-TDNAME     = P_NAMEX.
          WA_STXBITMAPS-TDOBJECT   = 'GRAPHICS'.
          WA_STXBITMAPS-TDID       = 'BMAP'.
          WA_STXBITMAPS-TDBTYPE    = 'BCOL'.
          WA_STXBITMAPS-DOCID      = P_DOCID.
          WA_STXBITMAPS-WIDTHPIX   = L_WIDTH_PIX.
          WA_STXBITMAPS-HEIGHTPIX  = L_HEIGHT_PIX.
          WA_STXBITMAPS-WIDTHTW    = L_WIDTH_TW.
          WA_STXBITMAPS-HEIGHTTW   = L_HEIGHT_TW.
          WA_STXBITMAPS-RESOLUTION = P_RESOLUTION.
          WA_STXBITMAPS-RESIDENT   = P_RESIDENT.
          WA_STXBITMAPS-AUTOHEIGHT = P_AUTOHEIGHT.
          WA_STXBITMAPS-BMCOMP     = P_BMCOMP.
          INSERT INTO STXBITMAPS VALUES WA_STXBITMAPS.
        ENDIF.
      ENDIF.
    *--OAER
      DATA: SIGN    TYPE TABLE OF BAPISIGNAT WITH HEADER LINE,
          COMP    TYPE TABLE OF BAPICOMPON WITH HEADER LINE,
          CONTENT TYPE TABLE OF BAPICONTEN WITH HEADER LINE,
          CONTHEX TYPE TABLE OF SOLIX WITH HEADER LINE,
          DOCID TYPE SOFOLENTI1-DOC_ID,
          OBJKEY TYPE BAPIBDS01-OBJKEY,
          DOC_DATA TYPE  SOFOLENTI1.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          FILENAME = L_FILE
          FILETYPE = 'BIN'
        TABLES
          DATA_TAB = CONTENT.
      BREAK FTELLI.
      OBJKEY = P_NAMEX.
      SIGN-DOC_COUNT = '00000001'.
      SIGN-PROP_NAME = 'BDS_DOCUMENTCLASS'.
      SIGN-PROP_VALUE = DOC_DATA-OBJ_TYPE.
      APPEND SIGN.
      SIGN-DOC_COUNT = '00000001'.
      SIGN-PROP_NAME = 'BDS_CONTREP'.
      SIGN-PROP_VALUE = ''.
      APPEND SIGN.
      SIGN-DOC_COUNT = '00000001'.
      SIGN-PROP_NAME = 'BDS_DOCUMENTTYPE'.
      SIGN-PROP_VALUE = 'BDS_IMAGE'.
      APPEND SIGN.
      SIGN-DOC_COUNT = '00000001'.
      SIGN-PROP_NAME = 'BDS_TITLE'.
      SIGN-PROP_VALUE = 'DIMITRIS'.
      APPEND SIGN.
      SIGN-DOC_COUNT = '00000001'.
      SIGN-PROP_NAME = 'DESCRIPTION'.
      SIGN-PROP_VALUE = DOC_DATA-OBJ_DESCR.
      APPEND SIGN.
      SIGN-DOC_COUNT = '00000001'.
      SIGN-PROP_NAME = 'LANGUAGE'.
      SIGN-PROP_VALUE = SYST-LANGU.
      APPEND SIGN.
      COMP-DOC_COUNT = 1.
      COMP-COMP_COUNT = 1.
    *    comp-comp_id = doc_data-obj_descr.
      COMP-MIMETYPE = 'image/jpeg'.
      COMP-COMP_SIZE = DOC_DATA-DOC_SIZE.
      APPEND COMP.
      CALL FUNCTION 'BDS_BUSINESSDOCUMENT_CREA_TAB'
        EXPORTING
          CLASSNAME       = 'PICTURES'
          CLASSTYPE       = 'OT'
          OBJECT_KEY      = OBJKEY "p_matnr
        TABLES
          SIGNATURE       = SIGN
          COMPONENTS      = COMP
          CONTENT         = CONTENT
        EXCEPTIONS
          NOTHING_FOUND   = 1
          PARAMETER_ERROR = 2
          NOT_ALLOWED     = 3
          ERROR_KPRO      = 4
          INTERNAL_ERROR  = 5
          NOT_AUTHORIZED  = 6
          OTHERS          = 7.
      COMMIT WORK AND WAIT.
      REFRESH: CONTENT, CONTHEX, SIGN, COMP.
    Thanks a lot ....

    Hi,
    You should be changing the URL passed to the URLRequest to
    point to your server. Please check the URL from the HTML page
    generated by your JSP and set the URLRequest URL accordingly.
    Hope this helps.

  • Uploading images with jsp-PLEASE HELP

    Hi
    I would like to allow users to upload images(photos) from the website im doing.
    i was gonna use perl which seems quite easy. Since everything else i used was jsp i thought i might try to do uploader in jsp (though its seems more difficult)
    id like to limit :
    the maximum file size to be uploaded ,
    the maximum width/height of the image file
    the list of the acceptable mime-types (Content-Types) -jpg, gif
    Any suggestions how to go about it PLEASE- ie. what packages, classes do i need- mimeparser, BufferedImage, FileFilter? cos im bit lost which classes to use.
    THANKS LOTS
    sabcarina

    This is the jsp File which helps me to upload the file
    But for this Jakarta Commons fileupload is needed which is normally provided with Tomcat 5.5
    The code is
    <%@ page contentType="text/html;charset=windows-1252"%>
    <%@ page import="org.apache.commons.fileupload.DiskFileUpload"%>
    <%@ page import="org.apache.commons.fileupload.FileItem"%>
    <%@ page import="java.util.List"%>
    <%@ page import="java.util.Iterator"%>
    <%@ page import="java.util.*"%>
    <%@ page import="java.io.File"%>
    <%@ page import="com.common.*"%>
    <!--<html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>Process File Upload</title>
    </head>-->
    <%
         DerivedLastNoEntity objLastNoEntity=new DerivedLastNoEntity();
         DerivedLastNoObject objLastNo=(DerivedLastNoObject)objLastNoEntity.getData(new DerivedLastNoObject(10)).get(0);
         int lastNo=objLastNo.getLastNo();
         String forwardString=null;
         StringBuffer parameters=new StringBuffer();
            DiskFileUpload fu = new DiskFileUpload();
            // If file size exceeds, a FileUploadException will be thrown
            fu.setSizeMax(1000000);
            List fileItems = fu.parseRequest(request);
            Iterator itr = fileItems.iterator();
            while(itr.hasNext()) {
              FileItem fi = (FileItem)itr.next();
              //Check if not form field so as to only handle the file inputs
              //else condition handles the submit button input
              if(!fi.isFormField()) {
              String fileName=fi.getName();
              if(fileName.length()>0)
                   fileName=(++lastNo)+fileName.substring(fileName.lastIndexOf("."));
                   File fNew= new File(application.getRealPath("/"), fileName);
                   parameters.append("&fileName=/struts-blank/"+fileName);
                   fi.write(fNew);
         else
              if(fi.getFieldName().equals("forwardString"))
                   forwardString=fi.getString();
              else
                   parameters.append("&"+fi.getFieldName()+"="+fi.getString());
         objLastNo.setLastNo(lastNo);
         objLastNoEntity.edit(objLastNo);
         System.out.println("before "+forwardString);
         if(parameters.length()>0)
              if(forwardString.indexOf("?")<0)
                   forwardString=forwardString.concat(parameters.toString().replaceFirst("&","?"));
              else
                   forwardString=forwardString.concat(parameters.toString());
         System.out.println("after "+forwardString);
         response.sendRedirect(forwardString);
    %>
    <!--<body>
    Upload Successful!!
    </body>
    </html>-->Bye for now
    CSJakharia

  • Picture Library : upload image with same name overwrite the image in thumbmail or WebVersion view but not the actual image link points to the old image

    Hello,
    I am facing a wired issue with Picture Libraries in SharePoint.
    We created a custom field and added it to UserInfo list, the column based on custom field lets user upload their personal images to a Picture Library with the name <User ID>.<Image Extension> e.g. 1.jpg where UserID is internal Listitem ID of the UserInfo list and set its URL to the field value which we use to display the image on our custom user profile and some other WebParts.
    If the user uploads a different image, it will overwrite the existing one it keeping the same name.
    The field worked perfectly with sites using widows Based authentication, but as we move the field to sites with form based authentication we find that the field is able to upload the image properly first time but on each successive upload, although a new image gets uploaded with the name userid.imagextension and is shown in the allitems.aspx page in the thumbnail view and in the picture preview on the dispform.aspx page, but the link next to the name field and the image shown on clicking the preview points to the old image.
    To put it other way
    https://<Web URL>/Picture%20Library/_w/Upload_jpg.jpg
    https://<Web Url>/Picture%20Library/_t/Upload_jpg.jpg
    Would show the updated image
    but the actual URL
    https://<Web Url>/Picture%20Library/Upload.jpg 
    points to the old image
    what’s even more strange is that even after deleting the image the url still shows the old image at
    https://<Web Url>/Picture%20Library/Upload.jpg 
    I confirmed the same by actually repeating the same exercise on a picture Library in the User Interface
    Uploading an image say upload.jpeg in the picture library using SharePoint interface.
    Then uploading a different jpeg image keeping the same name upload.jpeg again in the picture library.
    In allitems.aspx thumbnail view and on dispform.aspx page preview filed image now show the newly uploaded image but when you click the preview image or click the link in the name field value it takes you back to the old image.
    I have seen this issue on environment where we have enabled form based authentication and the issue is not seen on another server where we have wss with windows based authentication.
    Has anyone noticed such behavior and is there any workaround to that!
    Thanks & Regards
    Saurabh Rustagi

    All,
    I had the same issue. 
    In my case, Blob Cache was enabled for the web application in which the image issue was occuring.
    I cleared blob cache, and after doing a hard refresh of my browser, the correct image was then displayed.
    To clear blob cache, do the following:
    Navigate to:   
    http://yourwebapp:port/yoursite/_layouts/objectcachesettings.aspx
    Select:  "Object Cache Flush"  and  "Force all servers in the farm to flush their object cache" check boxes
    Click the OK button
    Hope this helps.

  • How do I source an image with HTML in Adobe Muse?

    Hello, I am wanting a horizontal slideshow for images and I got the code to work nicely in my muse website and all I need to do now if populate it with images. I have looked into the syntax for placing an image and I am not too sure how to handle the sourcing (as I've never done code before).  It's to go something like this:
    <img src="url" alt="some_text">
    I have the images to place in the slideshow sized, cropped, and ready to go in, but I do not know how the input the syntax to "source" my images - they are just sitting in a folder in "my pictures" on my desktop. My workplace has a server where we all can access the same files...will that help?  I've seen where people reference images in their code simply by typing the web address of their website with the image name at the end....which confuses me! -> how do I upload an image to my Muse website without it being seen and then reference it in a slideshow?  That process doesn't seem to make sense. I'm lost! Help please!

    Here are a couple o links that will help in your quest and will answer 95% of your questions.
    http://www.w3schools.com/html/html_images.asp
    http://www.htmlgoodies.com/primers/html/article.php/3478181/Basic-HTML-Images.htm
    http://www.adobe.com/products/business-catalyst/faq.html
    http://www.w3schools.com/js/default.asp
    http://jquery.com/
    The other 5% is how well will Muse play with all that. To that I cannot  answer fully because I haven't tested every scenario. Again, the inherent nature of Muse is "designed" to stray away from custom coding. Also in your previous post it is a little unclear as to your where all your Muse folders/files are residing. IE: on your companies server or on BC or a bit of both. I know ultimately all your trying to do is point to something. Seems simple enough right? And there may in your developement come a time when you need the more advanced CMS features, which is why BC seems logical.
    What you find along the way is that it can get more involved then you anticipated. Certainly if you can make it work then go for it. The problem is at times, while things can seem simple in theory, without sufficient practice employing those theories (the coding/the syntax) then any # of errors can happen leaving you scratching your head and cursing why you bothered in the first place. Another option is to rethink your strategy. Is it really all that important to have the uber cool linear continuous scrolling effect? Will this define my site? Can I implore some imagination and thinking and make it easier on myself by using the tool at hand (Muse) to it's max to achieve the end goal?
    Just some food for thought but as previously stated if you can make it work then go for it. And if the mods or other users can be of more help than I, then that would be great as well!
    Happy Holidays, good luck, and please report your findings :-)
    Edit - With so much going on myself, I forgot to mention that (when you have all your  i's dotted and t's cossed) you could try inserting the script into the html for head feature via the metadata tab in your page properties.
    Message was edited by: GVD321

  • How to upload images in HTML portlet

    Hi,
    We want to allow users to add their HTML thru HTML portlets - there are two issues
    1.How to upload the images that are part of HTML.
    2.The <a> </a> doesn't work within the portal framework.
    Thanks
    Sachin

    Hi,
    You could also try giving the absolute URL to the image. This assumes you're using OC4J(Oracle Containers for J2EE), our J2EE compliant container. On your os, navigate to the following directory:
    oc4j_home\j2ee\home\default-web-app. Create an images directory so the physical path becomes:
    oc4j_home\j2ee\home\default-web-app\Images. Store your images in this directory. Startup oc4j by going to a command prompt and entering java -jar oc4j.jar at the oc4j_home\j2ee\home.
    In your browser: http://hostname.domain:8888/Images/somegif.jpg. You can use the url in your <img src> tag in HTML.
    Hope that helps. Please repost to this forum if you have further questions/issues.
    Thanks,
    Sudi Narasimhan
    Oracle9iAS Portal Partner Management

  • Problems uploading images with uppercase (.JPG) file extension.

    I am using coldfusion 8 and have no problems uploading an image using CFFile when the image has a lowercase file extensions such as .jpg however if the same file has a Uppercase file extension .JPG coldfusion hangs and then just times out. The files are exactly the same just different cases in the extensions.
    Any idea?
    My cffile is set as such   <cffile accept="image/*" action="upload" destination="#uploadfolder2#" filefield="profilePictureFileBrowser" nameconflict="makeunique" >
    I tried changing the accept property to image/*, image/jpg, image/JPG but that did not fix the problem either

    Thanks for the quick reply. So I removed the tag and even though I get an error after submitting the form it appears to not hang anyways. Any idea how to fix this?
    I am on a windows 2003 server so cases sensitifity should not be a problem. I am perplexed as to why this would work with lowercase extensions an not upper?

  • Cannot upload application with HTML files

    <loader version="1.0">
    <application id="GuideBook">
    <name>GuideBook</name>
    <description>Know your rights</description>
    <version >1.0</version>
    <vendor></vendor>
    <copyright>Copyright (c) 2009</copyright>
    <fileset Java="1.0">
    <directory>D:\Projects\Blackberry\SampleApplications\phonegap\</directory>
    <files>GuideBook.cod</files>
    </fileset>
    </application>
    </loader>
     Try to upload application on device Blackbarry 7100, but allways get error   
      "The application GuideBook cannot ge loaded because some required files are not available." 
    But D:\Projects\Blackberry\SampleApplications\phonegap\GuideBook.cod exists ! Yes, my application uses HTML files, maybe i need to add them also?

    Thanks for your fast reply. My fast answer is:
    Strange things
    1. I tried to connect to htmldb as you asked me. It was OK from localhost and remote computer, too.
    2. WEB folder experimenting wasn't successful from local computer again, BUT IT WAS SUCCESSFUL (via XDB login) FROM REMOTE COMPUTER. (I haven't tried it yet before...)
    I have read the information you wrote about DAD some days ago, and I found it valuable. The only different thing in XE (after you restore the pls dad) is the user.package.procedure calling INSIDE the package, which - as I understand - is a new thing. Eg. calling from one procedure from the other in package test in 9i was simple: test.procedure1. But now you HAVE TO put username at the beginning of the calling, like: hr.test.procedure1 which means that you can compile the old package without error, however you cannot use the procedure calling inside the package. That is the reason I had to change them. Another new thing, that if you want to share your http package, that you have to add an execute grant on it to public. So there are some differences, not big, nevertheless important changing.
    After this long dissertation, my question is still how can I reach an image folder from my package. Now I can reach the WEB folder from an old NT4 machine, so I can upload and download images, making folders, etc. But how can I reference them? (Anyway I do not now the reason, why I cannot reach WEB folder from the local computer...)
    Sorry for the long long long spiel. Waiting for your answer.
    Zsolt

  • Adding a background image with HTML?

    Just a quick one. Want to add a background image to the html
    of a flash site so the background image can scale and the content
    of the flash site not scale. Any ideas anyone??
    Thanks all!

    satrop wrote:
    > Just a quick one. Want to add a background image to the
    html of a flash site so the background image can scale and the
    content of the flash site not scale. Any ideas anyone??
    You can place the image in flash. Flash has onResize handler
    which in conjunction with
    listener, can detect the changes in stage, scale movie to
    fill the window while preventing
    other content from scaling. This is very common, when we
    resize background to fill window
    but hold the content intact. Try to search the forum for
    "onResize". That's the only case,
    in most posts, where we deal with the exact same issue as the
    one you looking for.
    Best Regards
    Urami
    "Eat one live toad in the morning and nothing worse will
    happen to you for the rest of the day."
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • Dreamweaver wont completely upload images with ftp

    This is my first site I have created. I am using dreamweaver cs5 and I am trying to upload my site to the internet. I set up my ftp and tested it and it worked but when i try to upload my local files to the remote files, i check my domain name and all that comes up is the layout and outline of my boxes. None of the images show up even though the folder with all the images says it transfered over to the remote files. Please help.

    Check that you are actually using legal file types and file names.
    For example... no psd files, no files created as CMYK color mode.
    File names on the server are case sensative and can not contain any special characters such as spaces.
    So as a rule, both file and folder names should be all lower case and contain no spaces.
    My Image.JPG is NOT the same file as my_image.jpg
    Use underscore_instead_of_spaces. .... and no upper case.
    Best wishes,
    Adninjastrator

  • Upload image with BuddyAPI

    I have a cast member as a place holder for a profile pic. I
    want the user to browse their computer for an image to use as their
    profile pic and then save that file to a specified location (the
    same location as the projector) and be the same size as the place
    holder image. My place holder image will be called image1.
    I think I have to use baGetFileName to get the file and save
    it. But it's not working. This needs to work on a mac and pc. Can
    someone give me some clues?

    The message i recieve is:
    -- (member 16 of castLib 1) #member "C:\Documents and Settings\familjen\Skrivbord\1.jpg"
    And script stopps and says:
    Script error: Handler not defined
    rescale(tMember, 140, 300)
    #rescale
    But problem is solved it works when I remove  "rescale(tMember, 140, 300)"
    I do wanna rescale the member ... since it dint work i changed the width and height of the sprite instead
    The reason it didnt work before it is a director error/bugg because the script works sometimes and sometimes not
    But it always work when I make a projector of the file and put the buddy api in a duplicate xtras folder in the same place
    as the projector
    Though I have another problem
    --use this to opem wordpad I put it in frame 1
    baOpenFile( "C:\Program\Windows NT\Tillbehör\wordpad.exe" , "active" )
    --this I put in frame 15 to put the text in the wordpad
    On BeginSprite
      baSendKeys( "Some example text of interest" )
    end
    Well this works! But the wordpad is open all the time and it open up new wordpad every time I
    use the script.
    So i tried this instead in frame 1:
    baSetWindowDepth( baWinHandle() , 3 )
    --it puts the director movie behind wordpad
    But since wordpad aint active the text "Some example text of interest" wont show

  • Why I can't upload images to facebook?

    simply i can't upload images with safari,,, and when i try to upload by simple uploader it close unexpectedly !!!
    with flash uploader i cant select photos from folders in my mac !!!

    Do you have the latest version of flash installed?
    http://download.cnet.com/Adobe-Flash-Player/3000-2378_4-10074404.html
    Here is a link for flash player 10.

  • Yet ANOTHER New Problem - Can No Longer Upload an Image with 64 Bit IE9

    I've been uploading images as part of forum posts successfully for weeks using IE9 64 bit, set for Compatibility View.
    Suddenly, starting yesterday, using the little camera icon with IE9 64 bit, when I hit the [Browse] button, the entire IE window just disappears, losing the response in progress!
    Doing the exact same thing in IE9 32 bit works, and brings up the dialog with which to select a file.  So now the workaround is that I must use the 32 bit IE to access this site.
    Nothing is changing on this end.  No new Add-ons, no config changes.  Cache has been cleared to no avail.  Nothing appears in the Windows event logs.
    Can you folks please try a little harder to settle this forum software down?  It's getting rather frustrating to have features just keep dropping out like this.
    -Noel

    Jochem van Dieten wrote:
    That is a browser preference, not a preference set by some site through HTML. If you are unable to get this configured properly you need to ask in a Microsoft IE forum.
    Thank you for your thoughts.
    Your answer sounds authoritative, but just what preference would you say governs this behavior?  I don't believe there is one, at least not one that directly sets the IE default open folder behavior.  And I don't have my browser delete its cache or anything on the way out.
    Your answer would seem reasonable but for the fact that the behavior I'm observing changed here recently - in the past week or so - without my having changed browser preferences.  Could a Windows Update have changed IE9?  Possibly, but I don't recall there being one specifically that coincided with this observed change.
    No disrespect intended, but there's no reason to think the script driving the File Open dialog can't request a specific starting folder.  That's what I think has been changed here.
    Captiv8r wrote:
    For me, the dialog simply opens to the last place I elected to open from. It stays that way until I choose to change it again.
    What browser/version are you running?  Just curious.  And have you cleared your cache and checked with the current forum software?
    -Noel

Maybe you are looking for

  • Time Out Isssue

    Hi, We have a SQL Azure DB which is about 5 GB & whenever we try to execute an query which takes little more time to process it gives following error. Retrying also gives the same error. (Timeout occurs after executing query for about 5-10 mins ) - "

  • Possible to add multiple 'Collections' to a container

    Hello, In DB XML, is a 'Container' equivalent to an xquery 'Collection' ? All of the examples that I see, refer to the container when specifying the collection. Basically, I would like to create one Container - call in container1.dbxml Within contain

  • Making Animation Smooth in Flash

    Hi there, I've just started using Flash today so my question may seem a bit lame . . . but here goes. I took a series of photos of a phone set that I dropped into Flash so that I could animate it spinning round. The spinning works fine but the overal

  • How to Stop the iPod from Skipping Songs While Walking

    HELP! The gyroscope in my iPhone 4 has many handy functions, but it also results in song skipping when I walk down the street with my iPhone in my hand or pocket. How can I get this skipping to stop?

  • Netctl, systemd and 'external' vpn command

    I am trying to use netctl to connect to a vpn (a microsoft vpn). The `pon` command works, but I would like to use netctl  to set up routing, dns, et cetera. I am confused about how netctl and systemd should work together, and I have not found  any do