Resize image from local drive and upload to server

Hi there
I want to allow the user to chose an image from his local
hard drive.
The image should then be loaded into the Flex 2 application.
There I wanna show him infos about the image e.g. height and
width.
He should then be able to scale/resize the image and upload
it to the server.
I have no idea how to do that :-)
Any thoughts on that?
Thanks in advance
Bernd

Well in short, you need a second language to support that,
e.g. PHP/ASP/CF.
First you'll have to build a GUi in which you can upload the
jpg, putting it to the server using php/asp/cf, then you'll need to
make a call to that image, (importing it into your flex), then
you'll have to set the parameters for the resizing, then you'll
have to call a php/asp/cf script which does te resizing

Similar Messages

  • Loading PDF from local drive and sending it to Agent Inbox

    Hello experts,
    I have a question regarding to sending e-mails to inbox agent (so that it will appeared in the Inbox in the transaction SBWP). Sending e-mail is not a problem and I use FM called SO_NEW_DOCUMENT_ATT_SEND_API1 to do it.
    The problem starts when I want to attach a PDF file. I can not find information how to load a pdf file from a local drive and add it as an attachment to an email. I will be grateful for your help and peace of code.
    Best regards
    Andrew

    Hi,
    Using cl_bcs much simpler
    Based on BCS_EXAMPLE_3 .
    See attached program Y_R_EITAN_TEST_10_07 .
    Regards.

  • How to edit images on local drive and then archive to external?

    I have a Drobo that I use to archive my permanent lightroom archive and image files. Currently, everything lightroom resides on this external drive. But the Drobo is no where near as fast as my internal hard drive as far as read/write and seek speed. I was wondering if there is a fairly easy way for me to work with my most recent import of images off of my internal hard drive and then "move" the images to the drobo once my post-processing is complete. I'm thinking storing the catalog on my internal drive would make sense as well and then use lightroom's built in catalog backup feature to backup the catalog file to the external drive. Any suggestions for those of you out there using Drobos or other large external storage devices on some type of "best practice" would be great. I apologize if this has been covered elsewhere in the forum; I searched but I couldn't find anything.

    bisabuelo wrote:
    ... I was wondering if there is a fairly easy way for me to work with my most recent import of images off of my internal hard drive and then "move" the images to the drobo once my post-processing is complete. ...
    You can do exactly that, I do it all the times. Import your photos to an internal drive, work on them, and once you're done with the major work, move the photos or folder(s) from within LR to your drobo. LR will keep track of where your photos are if you move them from within LR.
    I even sometimes move an image to a tomporary directory on a local drive from my NAS storage before opening it in PSE, since the building of a large TIFF takes forever on my NAS. I then move it back after finishing my work.
    ... I'm thinking storing the catalog on my internal drive would make sense as well and then use lightroom's built in catalog backup feature to backup the catalog file to the external drive. ...
    I think that's a good way of handling it.
    Please also be aware of the fact that the most important performance topics are access times to
    Catalog
    Previews
    ACR cache (!!)
    Access time to the raw file itself is actually not the most important issue.
    Beat Gossweiler
    Switzerland

  • Copied images from flash drive and they are invisible. how do I make them visible

    I have copied some image files (jpeg format) from a flash drive onto my imac. When I go to view the images they do not appear. When I try to copy them again, there is a message that I cannot modify invisible images. These images were originally downloaded to a windows-based computer and copied to the flash drive. Is there a way to make these image files visible? I am trying to use them for a website. Thanks!

    Open Terminal in the Utilities folder. Enter at the prompt:
    chflags nohidden
    After the word "hidden" put a space and type in the path to and name of the file. For example, if they are on the Desktop: chflags nohidden ~/Desktop/name_of_file. Include the file's extension. Press RETURN. If all the files have the same extensions, then use chflags nohidden ~/Desktop/*.jpg or *.jpeg.

  • How to load an image from local filesystem, and paint it to a frame

    Please offer an AWT solution

    Image getImage
        String path
        Image image = Toolkit.createImage(path);
        loadImage(image);
        return image;
    void loadImage
        MediaTracker mt = new MediaTracker(image_observer);
        mt.addImage(image, 0);
        try
            mt.waitForID(0);
        catch interrupted exception
    class extends Panel
        Image image
        public void paint(
            g.drawImage(image,
        public void update(
            paint(g);
        public Dimension getPreferedSize
            return size of image

  • Does Discoverer 10g Plus allow uploading of reports from local drives?

    Hi ,
    Does Discoverer 10g Plus allow uploading of reports from local drives? Or like 4i is this only possible from Desktop Client?
    Regards
    Ram

    No, you can't bring in Disco workbooks from a local drive with 10g Plus.
    Only from the database and/or scheduled workbooks.
    Russ

  • HT201328 Can I unlock an old, unused iPhone 3GS (to be used overseas with a local simcard) and upload on it data from a newer iPhone 4 on the same MacBook Pro?

    Can I unlock an old, unused iPhone 3GS (to be used overseas with a local simcard) and upload on it data from a newer iPhone 4 on the same MacBook Pro?

    I got approval to unlock my 3GS from AT&T and in the process of updating the operating system. I am now using a iPhone 4 on my computer. I just want to know the following:
    When I backup and restore the 3GS in order to unlock it, will it mess up my existing data backed up from my iPhone 4?
    Can I upload data from my newer iPhone 4 onto my 3GS?

  • Download Image from Local PC

    Hi,
    I have a jpg image which is stored in the local system(not on the server).I have written an application from which I am not able to download the image from the local system.
    I am using the following code but this code works only if the image is present on the server.
            String file = "C:\Folder_Name\image.jpg";
            final byte[] content = this.getByteArrayFromResourcePath(file);     
         final IWDCachedWebResource resource = WDWebResource.getWebResource(content, WDWebResourceType.UNKNOWN);
                    try
         final IWDWindow window = wdComponentAPI.getWindowManager().createExternalWindow(resource.getURL(), "WD_Filedownload", true);
         window.open();
         catch(Exception e)     {
         wdComponentAPI.getMessageManager().reportException(new WDNonFatalException(e), false);
             private byte[] getByteArrayFromResourcePath(String resourcePath)throws FileNotFoundException, IOException
               FileInputStream in = new FileInputStream(new File(resourcePath));
               ByteArrayOutputStream out = new ByteArrayOutputStream();
               int length;
               byte[] part = new byte[10 * 1024];
               while ((length = in.read(part)) != -1) {
                 out.write(part, 0, length);
               in.close();
               return out.toByteArray();
    And for downloading the file or image from local system I need to put the file in \src\mimes\Components folder; Where as I want the file to be downloadable anywhere from the local file system. Is that possible?
    Thanks
    Pravin

    Pravin,
    If you want to display an image existing elsewhere on the local machine, you need to upload it first (use FileUpload UI component), store it in a byte array and then continue with your code below of creating a cached web resource.
    And you place resources in src/mimes/component so that they will be available to the application (meaning for all users). This doesnt mean you are displaying the image from the local file system. When you deploy, these images go and live in the server and accessed from there.
    In any case, the hardcoded image location in your code is valid only for YOU but not necessarily other user running the same application.
    As such, you cannot access the client's file system explicitly (i.e local machine) due to security reasons. I know of no other way to do it with WebDynpro. Any resources must be present on the server side at some point of time. Either at application start or ask the user to provide it (like FileUpload).
    No web technology allows that other than signed applets or trusted activex controls, as far as i know.
    Hope that clears the confusion.
    Thanks,
    Rajit
    Message was edited by:
            Rajit Srinivas

  • Display Image from Local path "c:\image.gif"

    Hi Experts,
    Is there anyway to display an image from local path i.e "c:\img.jpg".
    I need to display an image from the path in Dialog(Screen) programming.
    I need to do it using program not any other way...
    Can anyone suggest me a method please.
    Thanks
    Regards
    Naveen

    Hi Naveen,
    You'll have to create a custom control for this and perform coding like this:
    data piccon type ref to cl_gui_custom_container.
    data my_piccon type ref to cl_gui_container.
    data my_pic type ref to cl_gui_picture.
    data my_container type ref to cl_gui_container.
    * invoking the static attribute of the class.
    my_container = cl_gui_container=>default_screen.
    create object piccon
    exporting
    parent = my_piccon
    container_name = 'IMG_CON'
    * STYLE =
    * LIFETIME = lifetime_default
    repid = sy-repid
    dynnr = sy-dynnr
    * NO_AUTODEF_PROGID_DYNNR =
    exceptions
    cntl_error = 1
    cntl_system_error = 2
    create_error = 3
    lifetime_error = 4
    lifetime_dynpro_dynpro_link = 5
    others = 6
    if sy-subrc <> 0.
    message id sy-msgid type sy-msgty number sy-msgno
    with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    endif.
    create object my_pic
    exporting
    * LIFETIME =
    * SHELLSTYLE =
    parent = piccon
    * NAME =
    exceptions
    error = 1
    others = 2
    if sy-subrc <> 0.
    message id sy-msgid type sy-msgty number sy-msgno
    with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    endif.
    * Can be used to load the picture from the presentation server.
    call method my_pic->load_picture_from_url
    exporting
    url = 'file://D:mydataPicturesMisc_pics 1fw1.jpg'
    * IMPORTING
    * RESULT =
    exceptions
    error = 1
    others = 2
    if sy-subrc <> 0.
    message id sy-msgid type sy-msgty number sy-msgno
    with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    endif.

  • Display Image from Local p"ath c:\image.gif"

    Hi Experts,
    Is there anyway to display an image from local path i.e "c:\img.jpg".
    I need to display an image from the path in Dialog(Screen) programming.
    I need to do it using program not any other way...
    Can anyone suggest me a method please.
    Thanks
    Regards
    Naveen

    Well you could use the HTML control - try program SAPHTML_DEMO1 and key in the c:\img.jpg to check it works for you... or the picture control as used in example SAP_PICTURE_DEMO.
    Jonathan

  • Problem trying to batch resize images from bridge.

    I am trying to batch resize images from bridge. I am on windows 7 desktop and using CC, I select the images in bridge, tool bar>tools>photoshop>image processor. After doing this, photoshop CC opens but no images open.

    open photoshop, open actions pallette, click new action (windows > actions (or Alt+f9)), click record, open your image, resize it, click stop action.
    then use file> automate > batch
    the action you just recorded will be ready to use, select the folder with all your photos (wise to work on a duplicated folder incase you mess up)
    run the action.  wait while photoshop opens and resizes the images one by one.
    check in folder if the images resized how you expected.

  • View image from local

    Hi,
    I'm using J2ME wireless toolkit, and I want to know is it possible to view image from local(eg. C:\WTK22\appdb\DefaultColorPhone\filesystem\root1). I've written some code to view form the folder but it appear "error: null".
    mage storedImage = null;
              String picLink = "file://localhost/" + currDirName + fileName;
              try{
                   storedImage = Image.createImage(picLocation);
              catch(Exception e){
                   System.out.println("Error here: " + e.getMessage());
              }

    Yes, it is possible.
    They were demonstrating the RT display at NI Week. It is part of the RT features of Vision 6.1. You can route an IMAQ display window to the video output on the PXI chassis. Anything you display in that window will show up on your screen.
    Bruce
    Bruce Ammons
    Ammons Engineering

  • I am having issues with my web module on Lightroom 4 (Mac OS 10.9.5). "an unknown error occurred" while trying to upload to my FTP (no changes in my FTP). Bandaid fix was to export to local folder and upload via Filezilla. However, now that is no longer w

    I am having issues with my web module on Lightroom 4 (Mac OS 10.9.5). "an unknown error occurred" while trying to upload to my FTP (no changes in my FTP). Bandaid fix was to export to local folder and upload via Filezilla. However, now that is no longer working and although upload completes, the URL takes you to a "Forbidden - do not have permission to read this file" page. Lightroom is changing the permissions of each file to 000 instead of 644 for index files and 755 for all others. How can I change the permissions settings in Lightroom?

    I am having issues with my web module on Lightroom 4 (Mac OS 10.9.5). "an unknown error occurred" while trying to upload to my FTP (no changes in my FTP). Bandaid fix was to export to local folder and upload via Filezilla. However, now that is no longer working and although upload completes, the URL takes you to a "Forbidden - do not have permission to read this file" page. Lightroom is changing the permissions of each file to 000 instead of 644 for index files and 755 for all others. How can I change the permissions settings in Lightroom?

  • My iphone 4s suddenly displays images from Yahoo, Google, and Flickr at low resolution. The camera on my phone works fine, but any web related photo content is now pixelated and low res, what's the deal?

    My iphone 4s suddenly displays images from Yahoo, Google, and Flickr at a low resolution. I have IOS 7.0.4. My phone camera works fine, but any web based photo content from Safari, Yahoo images, Google images, and Flickr all come in pixelated and low res. What's the deal?

    It happened to me but later I figured out that cellular signal was not that great and so the Internet was very slow. It took me about 2 minutes to get the full resolution picuture on either of the app you've described. Try to get faster internet either by wifi or good signal and then check.

  • SQL 2012 Cluster- How to or Steps to Move Tempdb Files from Local drive to Shared volume

    Hi..
     I did Installation of SQL Server 2012 Cluster. During this setup I installed Tempdb Files on Local drive. Now I want to move this tempdb files from local drive to Shared Drive . When I am trying to move I am getting below error.
    Does any one can help me or provide the steps to move this tempdb files from local drive to Shared Drive ?
    Msg 5184, Level 16, State 1, Line 1
    Cannot use file 'Z:\Tempdb\tempdb.mdf' for clustered server. Only formatted files on which the cluster resource of the server has a dependency can be used. Either the disk resource containing the file is not present in the cluster group or the cluster resource
    of the Sql Server does not have a dependency on it.
    Thanks 
    Regards..
    Please Mark As Answer if it is helpful. \\Aim To Inspire Rather to Teach

    Hi,
    The error message may be thrown out when you attempt to create a database on another shared cluster drive when the SQL Server resource is not dependent on that disk.
    Check if you are in the scenario which mentioned in the following article:
    How to create databases or change disk file locations on a shared cluster drive on which SQL Server was not originally installed
    http://support.microsoft.com/kb/295732/en-nz
    Here is a thread with similar issue:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/c9f80af7-5b51-4c43-a2a0-f9c7d97aa41d/sql-disk-dependency-problem-on-sql-2008-cluster-including-errors
    Hope it helps.
    Tracy Cai
    TechNet Community Support

Maybe you are looking for

  • Service procurement from SRM-SUS

    HI, Pl guide me how to procure services from SRM-sus Say supplier performs the services and confirmation in SRM-SUS so that SES will be created in R/3 and SES approval in R/3 and send back the SES no to SRM-sus. pl share is thesre any documents regar

  • Can't load properties from file in webapp

    I've got a bean that I use to read a properties file. from the JSP page, I use <%@ page import="com.buildrequest.Login" %> <jsp:useBean id="buildproperties" scope="page" class="com.buildrequest.BuildProperties" /> <jsp:setProperty name="buildproperti

  • Look for resources in jar

    I wrote an aplication and put it with all needed resources(images) in a jar file, but still when i start the executable jar the aplication looks for the images in the directory where the jar is and not in the jar. How can i make it looking for reourc

  • Report Painter for FI reports.... (BS & PL)

    Hi Experts, Can anybody here teach me the detail step-by-step procedures on how to create a report in the Report Painter? And what are my look-outs? I need to develop a balance sheet report and income statement report thru the report painter. Would a

  • Rebate type

    We get wrong settlements for a rebate type: 1. The system does not ask for an assignment. 2. the related accounting document does contain a posting on the customer number when it should be the GL Code. I already checked the Agreement type, and there