Upload image and make thumbnail

Is that possible for ADDT to upload and resize image and make a thumbnail at the same time?

Hi chan15,
that´s only possible with a Custom Trigger which contains custom PHP code to create a thumbnail from the uploaded image and store it in whatever folder.
Cheers,
Günter Schenk
Adobe Community Expert, Dreamweaver

Similar Messages

  • Upload Images and giving an action to image

    Hi,
    I  want to upload images  and by clicking that image it must go to next view.
    Could you please suggest me some of the steps to upload image and to make an action on image.
    Regards,
    Anitha

    You can use FileUplod UI Element for uploading your photo.
    and to make image as action you can use LinkToAction UI Element and put the full image name(with file Ext) in ImageSource property of LinkToAction UI Element, after that create a action and put the required code for next level of prcessing
    use this running code for uploding you file
    String FileName = "temp;
           InputStream input = null;
           int i=0;
              FileIncreament();
              try {
                        String directory =".\\temp\\webdynpro\\web\\local\\yh1245_ftp"+
                        "\\Components\\com.yash.yh1245.Upload\\"+FileName+wdContext.currentContextElement().getCounter();
                             boolean sucsss = new File(directory).mkdir();
                             if(sucsss){
                                  wdComponentAPI.getMessageManager().reportSuccess("Directory Created ");
                                 File file = new File(directory+"\\"+wdContext.currentContextElement().getResourceURL().getResourceName().toString());
                                  FileOutputStream fos = new FileOutputStream(file);
                                  wdComponentAPI.getMessageManager().reportSuccess(file.getAbsolutePath());
                                  FilePath = file.getAbsolutePath();
                                  wdComponentAPI.getMessageManager().reportSuccess("AbsolutePath......."+file.getAbsolutePath());
                                  if(wdContext.currentContextElement().getResourceURL()!=null){
                                       input = wdContext.currentContextElement().getResourceURL().read(false);
                                       //wdComponentAPI.getMessageManager().reportSuccess("Resource is not null ");
                                       while((i = input.read())!=-1){
                                            fos.write(i);
                                  fos.flush();
                                  fos.close();
                                  wdComponentAPI.getMessageManager().reportSuccess("File Uploaded on server directory ");

  • How do i create a website that allows customer to upload images and text?

    I need some help i have a friend who has asked me if i can create a website that allows them to upload their own images and text at their leisure.
    His company is in the car sales trade so they need to regularly be updating their stock, and this needs to be done by somebody with limited computer knowledge so ease of use is fairly important.
    I am using dreamweaver cs4 on a G5 Imac running Snow leopard 10.6.8, my skills are limited to creating uncomplicated websites but i am very keen to learn, i am aware of content management systems such as Druplal but have zero knowledge on how to use these.
    Any assistance would be greatly appreciated
    Andy Barrington
    www.andybarrington.com

    You can take a read here
    http://www.hotscripts.com/category/php/scripts-programs/classified-ads/autos/
    http://icloudcenter.com/auto-dealer-car-sales-script.htm
    Although putting together a form that would upload images and all the descriptions required seems like a fairly straghtforward project, depending on your current skill set.
    Gary

  • Overlap 2 Images and Make Their Positions Relative?

    I need to essentially make a hotspot on an image that is another image.
    I know how to make hotspots. I know how to overlap images. But I need the overlapping image's position to be relative to the image beneath it.
    How can I do this?
    I have tried searching for Overlapping Images (answer: CSS)
    I have also tried searching for Mapping Images to Images (no luck, just brings up info on mapping images, period)
    I'm not sure what to search for to get this answer. That is why I am posting.
    I am using Dreamweaver CS3. I am a total n00b but if you point me in the right direction I can figure out the rest with research.
    Thank you in advance for your time.
    PS- Please don't say, "Why not just merge the 2 images with an Imaging Program?" I need to do this with hundreds of images, AND I need the images available separately on my site. This would create hundreds of additional images that I need to upload.

    Ignore this. I lost over half my post somehow. I'll try again. -.-
    <!Session data><input id="jsProxy" type="hidden"/></p><div id="refHTML"> </div><p></p><p><input id="gwProxy" type="hidden"/><!--Session data==></!--Session><input id="jsProxy" onclick="jsCall();" type="hidden"/></p>
    <div id="refHTML"></div>
    <p>This gives me a hotspot on an image. The hotspot's location is relative to the image behind it due to the image map.</p>
    <p> </p>
    <p>And here:</p>
    <p> </p>
    <div ispre=true?? __default_attr="plain" __jive_macro_name="code">
    <p>&lt;style type="text/css"&gt;<br/>&lt;!==<br/>.overlap {<br/> position: absolute;<br/> top: 100px;<br/> left: 50px;<br/>}<br/>==&gt;<br/>&lt;/style&gt;<br/>&lt;/head&gt;<br/><br/>&lt;body&gt;<br/>&lt ;div align="center"&gt;&lt;img src="background.png" width="770" height="600" /&gt;&lt;img src="image.png" width="100" height="100" class="overlap" /&gt;<br/>&lt;/div&gt;</p>
    </div>
    <p> </p>
    <p>This allows me to overlap images.</p>
    <p>I need a little of both of these concepts.</p>
    <p> </p>
    <p>I need image.png's position to be relative to background.png's position. That way image.png overlaps background.png in exactly the same place regardless of my user's resolution or browser window size. My page is centered. If my page was left-aligned this would not be an issue.</p>
    <p> </p>
    <p>I have been digging through CSS tutorials, and I'm certain the answer is there, but I am not getting it.</p>
    </body>
    ></p><p><input id="gwProxy" type="hidden"/><!Session data-->

  • Upload Images and Rename Rules

    I've never used the Renaming option when uploading images via ADDT. How
    can I force files to be renamed such that [a] all spaces are replaced by
    underscores, and [b] the file name and extension are converted to lowercase?
    Example:
    User uploads "My New Photo.JPG". I want it uploaded as "my_new_photo.jpg".
    Alec
    Adobe Community Expert

    Hi Alec,
    1. in "includes/common/KT_functions.inc.php" you´ll have to add a new function similar to this one, which will replace all chars from uploaded filenames other than alpha-numeric and "_" and "-" and "." with an underscore:
    function KT_websafe_filename($text) {
    return preg_replace("/[^a-zA-Z0-9\-_\.]+/", "_", $text);
    2. now open "includes/common/lib/file_upload/KT_FileUpload.class.php", go to line 120 and replace the line
    $fileName = KT_replaceSpecialChars($fileName, 'filter');
    with...
    $fileName = KT_websafe_filename($fileName, 'filter');
    The function mentioned above will need some enhancement for converting the file name to lower case -- guess that adding a strtolower() will do that
    Cheers,
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • Upload Images and PDFs into MDM through UI

    Hi All,
    I have a requirement where in we need to perform a mass upload of Images and PDFs into the respective tables of MDM through a UI.
    It is like, I browse the files through UI and click on Upload button, all those Images and PDFs should be uploaded in MDM.
    Is this a possible scenario? I have searched through sdn but could find no information pertaining to it.
    Please let me know if this is a possible scenario and provide some links to any documents related to it.
    TIA,
    Sravan

    upload of images and pdfs are dome from the data manager in MDM.
    ideally whatever u do in the DM is possible to be achieved by using the MDM APIs.
    so in ur UI (Webdynpro/ Java) u should call the APIsfor upload to the respective tables and its very much possible.
    check the MDM API list for more details.
    thanks
    -Adrivit

  • Negative images and blank thumbnails on import

    I tried importing some old personal photos that I have on CD from a family tree album. Most of the photos are very old that were scanned. After import, many of them show up as black thumbnails. When I double click, the images show up as what appears to be a negative image. I tried importing them into photoshop and the photo is fine. Even the preview is fine when I click on the file name on the CD. I tried saving it to the desktop and then importing it again into iphoto. Still the same result. I did find a small thread on this discussions forum that said to change the ownership and permissions of the iphoto library folder.
    http://discussions.apple.com/thread.jspa?messageID=1853597&#1853597
    Unfortunately that did not do the trick...any help would be appreciated.

    Rob:
    Welcome to the Apple Discussions. Those files are were scanned to a grayscale format with an RBG color profile added. You'll need to strip that color profile from those files so that iPhoto will render them correctly. One way to do that is to export them from iPhoto changing them to tiff in the process. Then import the tiff files. They will be rendered OK. That will increase the size somewhat. If you export them to the desktop as jpgs and then convert to tiff with Preview and 100% quality the increase in file size will be very slight. A 777KB file I tested went to 1.2MB in the process.
    Photoshop Elements can do a Save As and not embed the color profile which will make it iPhoto compatible. GraphicConverter can do it by resetting the Color to grayscale (under the Pictures->Colors->Grayscale menu option) and then saving. Or you can batch change with GC.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.

  • What is the best way to erase half of an image but keep the other half of the image and make it look real

    I have an image of bracelet with a tube in the middle and need to erase the tube but keep the bracelet to make it look as though the tube was never there, what's the best tool in CS6 to use

    Look at the Content Aware Patch,  Healing Brush, and Spot Healing Brush tools.
    Photoshop Help | Content-Aware Patch and Move
    Nancy O.

  • Help please: Duplicate an image and make a scripted sprite

    Trying to duplicate an image from an existing cast member
    (named “capsule”) and then place that image as a sprite
    on the stage. I can duplicate the image, but I don’t know how
    to place it on the stage. Using makeScriptedSprite requires a cast
    member, not an image reference. Do I need to make my duplicated
    image into a cast member? The documentation seems to advise against
    doing this at runtime due to memory management.
    How would you folks go about duplicating an image from the
    cast and placing on the stage dynamically during runtime?

    Thanks for your responses wherold and openspark.
    I don't need to duplicate the cast member, just the image of
    the cast member.
    Here is the grand scheme. Imagine cast member 1 is a bitmap
    of a wall. Each round of the game, I need to place the wall on
    stage. Additionally, I need to use a different cast member
    (hole.bmp) to punch 3 to 5 holes through the wall image on the
    stage.
    Each round will be different, so I thought that I needed to
    duplicate the wall every time, otherwise the cast member itself
    would have more and more holes cut out over time. I need a fresh
    wall each round.
    Any thoughts?

  • I can't make my logo into a vector image and make the background transparent

    I have a logo in psd that I bring into illustrator. I need to turn it into a vector image because it's going on a billboard. But when I do I can't get rid of the white background, make it transparent. Can anyone offer any solutions?

    Click on the properties icon in the top tool bar and choose ignore white, then the trace will trace everything except the white.

  • Upload image and send to email

    I'd like the user to browse to select their photo and then upon hitting 'send' the image they select would be emailed to me. Can someone refer a simple execution for scripts associated with this functionality? I'm developing a jquery mobile app but working within dreamweaver cs6. So in theory it should work very similar to rigging a website with the same functionality.
    Cheers,

    The script needs to reside on the server where your form is located.  Your script should validate form fields, collect and send data to the email address you specify in your script.   It should also conceal your email address from harvesters and have good security and spam prevention measures built-in.
    If your server-supports PHP, I recommend this script from DB Masters.
         Formm@ailer PHP from DB Masters
         http://dbmasters.net/index.php?id=4
    Others I've heard good things about:
        FormToEmail.com (free & pro versions available)
        http://formtoemail.com/formtoemail_pro_version.php    
        Tectite
        http://www.tectite.com/formmailpage.php
        Forms to Go from Bebosoft (script generating software)
        http://www.bebosoft.com/products/formstogo/overview/
    Nancy O.

  • Resize 4000 images and make sure they have 3 sizes of canvas

    Hi,
    I require 4000 images in 3 different sizes.
    All of the images are different sizes but they need to be resized to be a specific size.
    I know that you can set a maximum width and height, but what i want is when they are resized, to be put onto a canvas that is my specific dimension.
    Anyone know how i can do this?
    Thanks!

    You can certainly use ACDSee Pro to do this job.  4000 images is a lot to process for any computer so it will take some time but ACDSee is up to the task.  You can constrain proportions or set them to be specific pixel dimensions.
    I do not know how to use the batch functions in Fireworks since I seldom use that program.  You can check to see if Adobe Bridge can do it but it might want to open Photoshop to do the batch processing which can take some time to do.

  • Logo download and make changes then upload

    Hi
    I needed change our logo from all invoices,  using se78 SAP Scripts Grphics->Stored as text(obsolete)->Standard Texts->ST
    Name LOGOFOOTER I have seen there.  How can I download this image and make the changes and again upload it.
    Regards
    Sebastian John

    Hi,
    I don't think so there is a provision of downloading the Image.
    For that u have to do print screen and edit in paint brush.
    If there is any provison then please let me know also.
    Regards,
    Supriya

  • Upload Image file and retrieve image file

    How to upload image and How to retrieve image file from Database?
    Plz., give some example
    I am waiting for your valuable guidance.
    Plz., help me any one.

    This question has been asked and answred so meny times.
    I dont feel like writing the answer yet another time so please doa search.

  • Load image and video dynamically...

    Hello. Can I make a "Browse..." button in a "Settings" slide (at the beginning of the presentation), to point my presentation to a certain photo (one photo) and video (one video) files from a HDD? I want to use those files in one of next slides... Thank You!

    I was able to create a file with 2 buttons that will upload image and video separatly and it works fine.
    But what I want is there is a 3rd button for submitting the selected files, right now the files are uploaded as soon they are selected and the browse window is closed..
    How do I get to upload the selected files only when the SUBMIT button is clicked. Please help.
    var imageTypes:FileFilter = new FileFilter("Images (*.jpg, *.jpeg, *.gif, *.png)", "*.jpg; *.jpeg; *.gif; *.png");
    // Assign the document types filter
    var videoTypes:FileFilter = new FileFilter("Flash Movies (*.avi, *.flv, *.mov, *.swf)", "*.swf");
    // Add both filter types to an array
    var imgTypes:Array = new Array(imageTypes);
    var vdoTypes:Array = new Array(videoTypes);
    upload_image.addEventListener(MouseEvent.CLICK, browseImage);
    upload_vdo.addEventListener(MouseEvent.CLICK, browseVdo);
    var fileRefList:FileReferenceList = new FileReferenceList();
    function browseImage(event:MouseEvent):void {
        fileRefList.browse(imgTypes);
        fileRefList.addEventListener(Event.SELECT, selectHandler);
    function browseVdo(event:MouseEvent):void {
        fileRefList.browse(vdoTypes);
        fileRefList.addEventListener(Event.SELECT, selectHandler);
    function selectHandler(event:Event):void
        var request:URLRequest = new URLRequest("fileUploadScript.php");
        var file:FileReference;
        var files:FileReferenceList = FileReferenceList(event.target);
        var selectedFileArray:Array = files.fileList;
        for (var i:uint = 0; i < selectedFileArray.length; i++)
            file = FileReference(selectedFileArray[i]);
            file.addEventListener(Event.COMPLETE, completeHandler);
            try
                file.upload(request);
            catch (error:Error)
                trace("Unable to upload files.");
    function completeHandler(event:Event):void
        trace("uploaded");

Maybe you are looking for

  • Cash Account Determination !!

    Hi Gurus !! I am trying  to configure the Cash Account Determination (OV77). By default there are two accesses defined for the condition type CASH one is against the Sales Organistion and the other is for the Sales Area. I defined my own table with t

  • How do I program the preloader in a fluid swf from another fluid swf?

    I have built a fluid swf(preloader.swf) which is like an intro-cum-preloader screen to a flash site which is stored in main.swf. How do I program the preloader.swf to show the preload percentage of main.swf ? All the swf files used here are fluid,so

  • Problem with Adobe Flash Player.pkg

    Hello Chris, Thank you for your reply. I have managed to get to "Adobe Flash Player.pkg" but have got stuck again! It says "Select a Destination" and shows an icon of iBook HD together with a big red exclamation mark. When I click on to this, it says

  • How to resolve a "low level exception occurred in adobe player"?

    Timeline now not playing back footage and preventing me from working. Im using an iMac, OSX Version 10.8.5. Processor 3.2GHz Intel core i5. 32GB RAM. All updates for premiere pro have been done and still the problem. Any help would be greatly appreci

  • Will Mac Update???

    I just upgraded from a 20GB to a Classic Video iPod. I love all the features except for the one where if the song does not have an album name you can not see it in the artist search. This is so annoying and unnecessary. A lot of people like myself do