Upload image on transparent buttons

i cant seem to get this right.
i want to upload an image of fixed dimensions or varying on transparent buttons(say a matrix grid or 3*3); so that i can assign a tool-tip text messages to each of those buttons. when i click on any of the buttons or on mouse-over, those text messages should show up as a tool-tip text.
i hope i have conveyed my problem correctly.
Thanks in advance.

but i dont want to add an icon. i want to upload an image on a fixed grid of 3*3 OR 4*4 transparent buttons. this will be done by the admin and a text message allocated to each of the buttons. so that, when a user can see that tool-tip-text on mouse-over or click of that area occupied by a button.

Similar Messages

  • Image in Transparent Button

    Hello all,
    I have done some research, how to display a button with only an image (the button it self is not visible), without success.
    I found that LAF has some classes to customise the button layout, including adding a image, but none allow to be transparent.
    There is any way to show a button with only a image?
    Regards,
    Pedro.

    Don't know what to say. I have it working fine with the following code:
    Set_Custom_Property( 'LAF_BLOCK.PBQUITE',1, 'SET_IMAGE', '/help-16.gif');
    Set_Custom_Property( 'LAF_BLOCK.PBQUITE',1, 'SET_BACKGROUND_COLOR', 'null');
    Set_Custom_Property( 'LAF_BLOCK.PBQUITE',1, 'SET_BORDER', 'false');
    Java Plug-in 1.6.0_24
    Utilisation de la version JRE 1.6.0_24-b07 Java HotSpot(TM) Client VM
    Répertoire d'accueil de l'utilisateur = C:\Documents and Settings\fdegrelle
    c:   effacer la fenêtre de la console
    f:   finaliser les objets de la file d'attente de finalisation
    g:   libérer la mémoire
    h:   afficher ce message d'aide
    l:   vider la liste des chargeurs de classes
    m:   imprimer le relevé d'utilisation de la mémoire
    o:   déclencher la consignation
    q:   masquer la console
    r:   recharger la configuration des politiques
    s:   vider les propriétés système et déploiement
    t:   vider la liste des threads
    v:   vider la pile des threads
    x:   effacer le cache de chargeurs de classes
    0-5: fixer le niveau de traçage à <n>
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    La version Forms Applet est : 10.1.2.0
    ***     Look and Feel Project v1.7.2     ***
    *------- L&F Java memory report [DrawLAF Init()] -------*
    *----------> DrawLAF1  total: 32440320  used: 10650608   free:21789712
    loading (shared) icon filename=/help-16.gifEnsure the button has the oracle.forms.fd.LAF_XP_Button Implementation Class (not the FunButton)
    Frrancois

  • Image with transparent background als foreground of a button

    I'd like to build an app with buttons using the phone's accent Color as Background and an Image with transparent Background as foreground of the button. It should look like the tiles on the start screen of WP8.1.
    The following code doesn't work (no foreground appears)
    <Button x:Name="myButton" Background="{ThemeResource PhoneAccentBrush}">
     <Button.Foreground>
         <ImageBrush ImageSource="/Assets/myImage.png"/>                    
     <Button.Foreground>
    </Button>
    Are there any ideas?
    Thanks
    Martin

    Hi mfv_technet,
    The Foreground property is used to get or set a brush that describes the foreground color. So we can not bind the Foreground to a image,
    if I do not misunderstand you, in my mind if we want to set the button look like the tiles on the start screen of WP8.1, maybe you can try to refer to the following xaml:
    <Button x:Name="myButton" Foreground="Red" Background="{ThemeResource PhoneAccentBrush}" Margin="116,136,0,363" Width="195" Height="141">
    <Button.Content>
    <StackPanel Orientation="Vertical">
    <Image Source="/Assets/myImage.png" Width="80" Height="80"></Image>
    <TextBlock Text="Button"></TextBlock>
    </StackPanel>
    </Button.Content>
    </Button>
    The result:
    If I have misunderstood you, please feel free to let me know.
    Best Regards,
    Amy Peng
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Upload image in an html form to be emailed

    Hi everyone. Here is another one of my last minute, hurry up and wait requests.
    I have to create a form that will enable the viewer to upload an image and send the
    form on its way to a predetermined email address. This is for a contest starting tomorrow.
    The form has been made and works. The only thing I haven't worked out yet is the "upload image"
    feature. This is absolutely necessary and must be included. I have tested this several times and all the data
    comes thru. What I need is for an image to go along with the form fields and appear when the email is opened.
    With all due respect I do not have a very long learning curve here so if anyone can just provide
    me with the code, both html and php, instruct me exactly where to place it I would be
    extremely appreciative.
    here is the temporary link:
    Sirui/Argraph Wildlife-Landscape Photo Contest
    The image upload button will be in between the two horizontal rules towards the bottom of the form;
    above the submit/reset buttons.
    Thanks in advance as always.
    -Cliff-

    Below is the code and php for your complete form together with the file upload field and code. How you style the form and validate the form fields (if your going to) is down to you. Change the email address marked in red to that of the recipient you want the information to go to.
    You need to copy all the code and save it with a php extension so instead of:
    SiruiWildlifePhotoContestEntryForm.html
    This:
    SiruiWildlifePhotoContestEntryForm.php
    Obvioulsy being php it only works if the file is on a php enabled server so if you dont have a local testing server you need to upload it to your remote server before it will work.
    <?php
    if(isset($_POST['Submit']))
    //The form has been submitted, prep a nice thank you message
    $output = '<h1>Thanks for your file and message!</h1>';
    //Set the form flag to no display (cheap way!)
    $flags = 'style="display:none;"';
    //Deal with the email
    $to = 'yourEmailAddress.com';
    $subject = 'Competition Entry';
    $LastName = ($_POST['LastName']);
    $FirstName = ($_POST['FirstName']);
    $Email = ($_POST['Email']);
    $Phone = ($_POST['Phone']);
    $Address1 = ($_POST['Address1']);
    $Address2 = ($_POST['Address2']);
    $City = ($_POST['City']);
    $State = ($_POST['State']);
    $Zip = ($_POST['Zip']);
    $Dealer = ($_POST['Dealer']);
    $TripodMonopodHead = ($_POST['TripodMonopodHead']);
    $CameraLens = ($_POST['CameraLens']);
    $ImageEntry = ($_POST['ImageEntry']);
    $DepositWhere = ($_POST['DepositWhere']);
    $YouTubePage = ($_POST['YouTubePage']);
    $attachment = chunk_split(base64_encode(file_get_contents($_FILES['file']['tmp_name'])));
    $filename = $_FILES['file']['name'];
    $boundary =md5(date('r', time()));
    $headers = "From: [email protected]\r\nReply-To: [email protected]";
    $headers .= "\r\nMIME-Version: 1.0\r\nContent-Type: multipart/mixed; boundary=\"_1_$boundary\"";
    $message = "Last Name: $LastName\n\n";
    $message .= "First Name: $FirstName\n\n";
    $message .= "Email: $Email\n\n";
    $message .= "Phone: $Phone\n\n";
    $message .= "Address1: $Address1\n\n";
    $message .= "Address2: $Address2\n\n";
    $message .= "City: $City\n\n";
    $message .= "State: $State\n\n";
    $message .= "Zip: $Zip\n\n";
    $message .= "Dealer: $Dealer\n\n";
    $message .= "Tripod Monopod Head: $TripodMonopodHead\n\n";
    $message .= "Camera Lens: $CameraLens\n\n";
    $message .= "Deposit Where: $DepositWhere\n\n";
    $message .= "You Tube Page: $YouTubePage\n\n";
    $message.="This is a multi-part message in MIME format.
    --_1_$boundary
    Content-Type: multipart/alternative; boundary=\"_2_$boundary\"
    --_2_$boundary
    Content-Type: text/plain; charset=\"iso-8859-1\"
    Content-Transfer-Encoding: 7bit
    $message
    --_2_$boundary--
    --_1_$boundary
    Content-Type: application/octet-stream; name=\"$filename\"
    Content-Transfer-Encoding: base64
    Content-Disposition: attachment
    $attachment
    --_1_$boundary--";
    mail($to, $subject, $message, $headers);
    ?>
    <!DOCTYPE HTML>
    <html>
    <head>
    <meta charset="UTF-8">
    <title>MailFile</title>
    </head>
    <body>
    <?php echo $output; ?>
    <form enctype="multipart/form-data" action="<?php echo $_SERVER['PHP_SELF'];?>" method="post" <?php echo $flags;?>>
    <p><label for="LastName" class="barheader">Last Name:</label>
    <input name="LastName" type="text" id="LastName" size="28" maxlength="50" />
    </p>
    <p><label for="FirstName" class="barheader">First Name:</label>
    <input name="FirstName" type="text" id="FirstName" size="28" maxlength="50" />
    </p>
    <p><label for="Email" class="barheader">Email:</label>
    <input name="Email" type="text" id="Email" size="50" maxlength="75" />
    </p>
    <p><label for="Phone" class="barheader">Phone:</label>
    <input name="Phone" type="text" id="Phone" size="12" maxlength="15" />
    </p>
    <p><label for="Address1" class="barheader">Address 1:</label>
    <input name="Address1" type="text" id="Address1" size="75" maxlength="100" />
    </p>
    <p><label for="Address2" class="barheader">Address 2:</label>
    <input name="Address2" type="text" id="Address2" size="75" maxlength="100" />
    </p>
    <p><label for="City" class="barheader">City:</label>
    <input name="City" type="text" id="City" size="33" />
    </p>
    <p><label for="State"><span class="barheader">State:</span></label>
    <input name="State" type="text" id="State" size="2" maxlength="2" />
    </p>
    <p><label for="Zip" class="barheader">Zip:</label>
    <input name="Zip" type="text" id="Zip" size="10" maxlength="10" />
    </p><label for="Dealer" class="barheader">Dealer:</label>
    <input name="Dealer" type="text" id="Dealer" size="100" maxlength="150" />
    </p>
    <p><label for="Tripod/Monopod/Head Used:" class="barheader">Tripod/Monopod/Head Used:</label>
    <input name="TripodMonopodHead" type="text" id="Tripod/Monopod/Head Used:" size="75" maxlength="100" />
    </p>
    <p><label for="YouTubePage" class="barheader">Camera/Lens Used:</label>
    <input name="CameraLens" type="text" id="Camera/Lens Used:" size="75" maxlength="100" />
    </p>
    <p><label for="Image/Entry:" class="barheader">Image/Entry #:</label>
    <input name="ImageEntry" type="text" id="Image/Entry:" size="25" maxlength="25" />
    </p>
    <p></p>Where will you deposit your entry?:</p>
    <p><label for="DepositWhere"></label>
    <input name="DepositWhere" type="text" id="DepositWhere:" size="20" maxlength="50" />
    </p>
    <p><label for="YouTubePage" class="barheader">For YouTube Videos: URL to your YouTube page:</label>
    <input name="YouTubePage" type="text" id="YouTubePage" size="50" maxlength="100" />
    </p>
    <p>
    <label for="file">Attach File</label> <input type="file" name="file" id="file"></p>
    <input type="submit" name="Submit" id="Submit" value="Submit" />
    <input type="reset" name="Reset" id="Reset" value="Reset" />
    </form>
    </body>
    </html>

  • 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.

  • Can't get rid of background image of toolbar buttons

    I am just a front-end developer and responsible for the front-end look of an ADF application that we are creating: We are using jDeveloper 11.1.1.4.0 (and we cannot upgrade due to being told no...so I cannot USE the skin editor which when I tried to use, migrates the files).
    I have created the necessary directories and files per tutorials I have been reading up on...
    skins directory - (new directory)
    skin.css (new file)
    Web-Inf -
    trinidad-skins.xml (new file and correctly configured)
    trinidad-config.xml (existing file but updated to use the new skin)
    Within the trinidad-skins.xml file I have the the new skin specified and is extending the "fusionFx-v1.desktop" default theme being used.
    Now the problem... I cannot get the background images to be overwritten or disabled for af|toolbar::item within the .css file
    I have looked up information about how to overwrite this and I tried to use the
    -tr-inhibit: background-image; within the .css declaration like this
    <code>
    af|toolbar::item {
    -tr-inhibit: background-image;
    </code>
    That was unsuccessful. I even just tried standard background {none;} and that was a no go as wel.
    What am I doing wrong here? This is driving me nuts... they made this skinning stuff way too complicated IMO. I don't see why I can't just add a class to the component within the property inspector of that component and then be able to reference it via normal css conventions... but nope BREAKS grrr... And I'm advanced level CSS coder! This stuff has me absolutely clueless and ready to just quit!
    Any suggestions or help is appreciated! And again... I cannot use the skin editor! Everytime I tried to, it prompted me to migrate the application and I cannot do this since there are about 5 other developers working on this application (we use clearcase for version control).
    Thanks,
    Michael

    I can't use the stand alone skin editor since it will want me to migrate the project files (developed in 11.1.1.4) and all files are source controlled via ClearCase.
    I have been experimenting...This is the code on the .jspx page
    <code>
    <af:panelGroupLayout id="header" styleClass="headerParent">
    <af:panelGroupLayout id="topLinkBar" layout="horizontal" styleClass="topLinkBar AFStretchWidth">
    <af:outputLabel value="#{customeradminportalviewcontrollerBundle.CUSTOMER_ACCOUNT}" styleClass="customerLabel"/>
    <af:outputText value="outputText2012" styleClass="customerOutput"/>
    <af:toolbox id="topLinkToolBox" styleClass="topLinkToolBox">
    <af:toolbar id="topLinkToolBar" styleClass="topLinkToolBar">
    <af:commandToolbarButton text="#{customeradminportalviewcontrollerBundle.HELP}" id="ctb2"/>
    <af:commandToolbarButton text="#{customeradminportalviewcontrollerBundle.POWER_INVOICE}" id="ctb1"/>
    <af:commandToolbarButton text="#{customeradminportalviewcontrollerBundle.CONTRACT}" id="ctb3"/>
    <af:commandToolbarButton text="#{customeradminportalviewcontrollerBundle.SIGNOUT}" id="ctb4"/>
    </af:toolbar>
    </af:toolbox>
    </af:panelGroupLayout>
    </af:panelGroupLayout>
    </code>
    Here is the CSS code
    <code>
    #topLinkToolBar af|commandToolbarButton {
    background-image: none;
    background-color: transparent;
    border: 0;
    </code>
    That WILL NOT get rid of the background images on the buttons! However if I do the !important hack within the CSS like this:
    <code>
    #topLinkToolBar af|commandToolbarButton {
    background-image: none!important;
    background-color: transparent!important;
    border: 0!important;
    </code>
    Then BOOM it works... I do NOT want to use the !important hack since that will cause problems in CSS inheritance and cascading...
    What am I doing wrong?
    Also how do I (if possible) target a specific ID used? For example the af:toolbar has an ID of "topLinkToolBar" how can I target that within the CSS? I know I can target it via class attribute like this:
    <code>
    af:toolbar.topLinkToolBar
    </code>
    but how would I do the same if I wanted to only apply to a component with a particular ID?
    Thank you everyone for all your patience, suggestions and help with this... I'm totally new to this type of environment and it's been a slow and frustrating learning experience!
    Michael

  • Not able to get image width after uploading image

    hi
    I am working on uploading image. Once the image is uploaded I need to know image width and height. Right now I am listening to "complete" event but it seems image is still not loaded when the complete event is raised as it returns image width as zero. This is very urgent and imp for me, Please let me know how can I get the wridth and height of image once it is uploaded on remote server
    <mx:VBox width="100%" height="100%">
                <mx:Label text="Image" />
                <mx:HBox width="100%" height="10%">
                    <mx:TextInput id="txt_imgname" width="321"/>
                    <mx:Button label="Browse"  click="bn_Browse_Click()"/>
                </mx:HBox>
            <mx:Canvas width="400"  height="264" backgroundColor="#000000" borderStyle="solid" cornerRadius="12" borderThickness="3" borderColor="#222F92">
                <mx:ProgressBar id="progressBar"  indeterminate="true" visible="false" height="1%"  />
                <mx:Image id="img" complete="{imageLoadListener(event)}" />
            </mx:Canvas>
            <mx:HBox width="100%" height="10%" horizontalAlign="right" verticalAlign="middle">
                <mx:Button label="OK" id="okbutton" click="bn_ok_click()" />
                <mx:Button label="Cancel" click="bn_cancel_click()" />
            </mx:HBox>
    private function bn_Browse_Click():void
                CreateFileReference();
                 fileReference.addEventListener(DataEvent.UPLOAD_COMPLETE_DATA, onUploadCompleteData);
                 FileBrowse();
            private function FileBrowse():void
                try
                    var success:Boolean = fileReference.browse(allTypes);
                catch (error:Error)
                    Alert.show("Unable to browse for files.");
            private function CreateFileReference():void
                 var imageTypes:FileFilter = new FileFilter("Images (*.jpg, *.jpeg, *.gif, *.png)", "*.jpg; *.jpeg; *.gif; *.png");
                 allTypes = new Array(imageTypes);
                 fileReference = new FileReference();
                 fileReference.addEventListener(Event.SELECT, selectHandler);            
                 fileReference.addEventListener(ProgressEvent.PROGRESS, fileRef_progress);
             private function selectHandler(event:Event):void
                 var request:URLRequest = new URLRequest("http://"+TestLoginIntegration.GetServerAddress()+"/FileUpload/Default.aspx");
                try
                     request.contentType = "application/octet-stream";
                     request.method = "POST";
                   fileReference.upload(request,fileReference.name,false);  
                catch (error:Error)
                    Alert.show("Unable to upload file." + error.message);
             private function fileRef_progress(evt:ProgressEvent):void
                        img.source = "";
                    progressBar.visible = true;
            private function onUploadCompleteData (event : DataEvent) : void
                 var filePath:String = event.data;
                 img.source = filePath;
                 progressBar.visible = false;
                 txt_imgname.text = GetFileNameFromPath(filePath);
            private function imageLoadListener(e:Event):void{
               Alert.show(e.currentTarget.width);
    private function GetFileNameFromPath(filepath:String):String
                if(filepath == null || filepath == "")
                    return null;
                var name:String = filepath.substring(filepath.lastIndexOf("/") + 1, filepath.length);
                return name;

    Read this older post
    http://forums.adobe.com/message/1900768#1900768

  • Can any one help how can I include junit in upload image interface?

    I did upload image interface with jsp and servlet. I just need to know can I include this with junit? If so how? can anyone help?

    Error Message:
    Uploaded file should be of (.bmp|.gif|.jpg|.jpeg|.png|.htm|.html) type     1) Select a file of type (.bmp|.gif|.jpg|.jpeg|.png|.htm|.html) other than this from the browse button with the 1st selection of the above test case
    2) Select a file of type (.bmp|.gif|.jpg|.jpeg|.png|.htm|.html) other than this from the browse button with the 3rd selection of the above test case
    Shows uploaded image link with date and time.     1) Select a file of type (.bmp|.gif|.jpg|.jpeg|.png|.htm|.html) from the browse button with the 1st selection of first test case.
    2) Select a file of type
    (.bmp|.gif|.jpg|.jpeg|.png|.htm|.html) from the browse button with the 3rd selection of first test case.
    3) Select a file of type
    (.swf) from the browse button with the 5th selection of first test case.
    Is this unit tests?
    If so how to implement junit?

  • Unable to upload images in my blog

    Dear moderators,
    Sorry to post question in this forum.
    I am facing issue while uploading images to the blog, "browse" button comes as disabled and I am not able to upload any images.
    Kindly help me to resolve this issue?
    Regards,
    Sanjana

    Hi Sanjana,
    Check your file size and internet connections.
    Regards,
    Kannan

  • Upload image in Dynamic Region

    Hello.
    Excuse me. my English is not very good.
    I use Jdeveloper 11.1.1.3.0
    in my application i have 2 Bounded Task Flow and i use them as a dynamic region.
    in each bounded task flow i use InputFile component to upload image. but i can't upload image, because when i click the Browse button and select the image, then i click another button in my application to upload image, but the InputFile component value reset . I don't know why this happen.
    this problem just happen in dynamic region, in another case I don't have any problem with upload image.
    Thanks.

    Habib,
    Welcome to OTN.
    As you said you are using taskflows as region, can you check the refresh condition of the region binding in the pagedef and see if that has anything to do with this?
    -Arun

  • N97 - Unable to upload images to Facebook

    Hi, I've been very happy with the recent v2 software update and had no problems so far (after the mess the previous firmware update left my phone in), my only problem is while using the facebook application I can no longer upload images from my phone to facebook.
    It just hangs when I try to do it. I've seen a few threads about but never a solution that works for me. I've tried re-installing the facebook app from Ovi, but this didn't work either. Please can someone help! This is the main feature I use on my phone for saving and backing up my photo's remotely, and as it seems a common problem there must be a solution!
    Thanks.
    1020

    This won't help fix your problem but a better way to upload pictures to Facebook (and other sites) is by using PixelPipe; http://pixelpipe.com/
    It installs setting which use the Nokia upload online feature.  if you set it to default you just take a picture and hit the upload button and voila it will send the picture to PixelPipe then onto whatever sites you have registered.  You can also go into the N97 gallery, choose all the photos you want to upload and the do the same.  It supports routing into specific albums or destination but I've not used this much.  I have my PixelPipe configures to upload to Facebook, Flickr and Ovi all at one.
    Again this won't fix your issue, which I think St3ph3n might have answered best anyhow but it's a much better way to get your photos onto Facebook.
    BR,
    Gavin Nesbitt
    http://geekhouse.dyndns.org

  • Using a single image containing several buttons/links?

    I have an image that I'd like to use as the main navigational device for a new site I'm designing, but I have no idea which is the easiest way to do this? The thing is, i want the different parts of the image (as the user hovers/clicks, etc) to animate and thus load new movie clips containing the content for that element... (the main image will minimise into the corner to make room). What's the best program to use? I have a feeling it's fireworks... in any case, how do I go about implementing mutliple buttons onto one image, and then dealing with the imagery in each button area individually?
    Hope someone can help!
    Si
    xx

    Ned, I think I see what you mean, but my worry is that I have to make sure each of the buttons (you said movieclips?? can movieclips function as buttons or do they still have to be button symbols? surely you mean a movieclip within a button symbol..?) are aligned to the original main image properly, which takes a lot of time. Especially if I want the images to animate and align perfectly with the surrounded static image...
    And Jim, it's not quite what i was thinking of, what i'm trying to do is this: I have a large picture of a pigeon pecking at a tambourine (don't ask!) and what i want is for different parts of the image (say, the head, a wing, the metal bits on the tambourine) to move when hovered/clicked on, and that will serve as links to areas of the site. therefore, only part of the whole image will appear to change. My biggest concern is dealing with alignment issues, between each of the buttons and the surroundinbg static image.
    Perhaps another way to think of it is to lay a series of transparent buttons over different areas of the image, that will allow me to pick up the sections of the image that falls within those button boundaries and be able to edit that mini-image/animate it. I don't think that's possible in flash... isn't there something in fireworks that allows you to convert a flat image into clickable areas...? (slicing? is that what is it is?) maybe photoshop/illustrator can do it too...
    Thanks for your help tho, guys

  • 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

  • Transparent Buttons

    is it possible to create a transparent button? I want to place a button on top of an image, but I want to be able to see the image through the button.

    in Swing, setOpaque(false) will be good. But AWT won't make transarent buttons

  • How to add image in the button Objects.

    Dear All,
    I need image in the button object. I don't know whether it is possible or not.
    If anyone know the idea for solving this problem Please siggest me.
    Thank you
    saroj neupane

    You cannot put an image on a button put you can have an image then create a clear button that you can put over top of the image. Send the image to the background then set the background fill of the button to none. This will make the button transparent. You may need to play with the borders of both obejcts to get the effect you want.

Maybe you are looking for