"Add an image" function in a PDF

Is there a way to have a button that will upload an image into your PDF? I want to do something similiar to having a 120px x 180px area and a button underneath it that says "Upload pic". When you click the button, it asks where to get image. Then when you select it the file, it places it into the blank area.
Or, is there a way to dynamically add attachements(image, text document, spreadsheet, etc.) to a form?

Hi,
Yes, you can fire a script in one object, from a separate object, using execEvent(). For example this script in one button will fire the script in the click event of "button2":
button2.execEvent("click");
However when it comes to an imageField object, it does not have script that you can access. So as far as I know, you cannot force the browser window to open for an imageField from a different object - the user must click the imageField object itself.
Niall

Similar Messages

  • Image hot spot in PDF

    Hi all
    I am very new to the Livecycle product ...WOW ..it's awesome !
    I wonder if someone could please help me ....
    I am using Livecycle Designer ES2 latest version and it is sinstalled stand alone on my PC.
    My two problems are :
    1. I would like to add an image into the fillable .pdf I am creating, so I can click anywhere on the image and I could set an action to go to a particular are in the .pdf file or to a url or print.
    My questions are as follows :
    Is this possible ?
    If so the how do I do it ?
    2.As a teacher I let my students fill in the fields in the fillable .pdf file and after making all the selections, they click submit or print.
    Is there any way the resultant form can still be fillable because once they have finsihed doing the clicking and filling in the fields I would still like to edit it and then finally save/submit or print it.
    Can it be done ?
    If so then how do I do it ?
    Really looking forward to a little help :-)
    Thanks a million
    Dean

    Hi Dean,
    Here is a sample of the image issue: https://acrobat.com/#d=EGVpC0TT2iHGyNXPUqWmCw
    You can create/drag buttons from the Object Library onto the page. Then in the custom appearance you can set the fill and border to the look and feel you want.
    In LC Designer, make sure that in the File > Form Properties > Defaults tab, you set 'preserve script changes' to automatic.
    Also the object should have a 'normal' or 'name' binding in the Object > Binding palette. It depends on which version of LC Designer you are using.
    When deploying forms it is important to consider what your users will open the form with - Acrobat or Reader. Here is a summary of what features are available depending on what the user has and whether the form has been Reader Enabled:
    A summary and PDF is here:
    http://assurehsc.ie/blog/index.php/2010/05/using-livecycle-forms-in-acrobat-and-reader/
    There are two ways to Reader Enable the form: using Acrobat OR using the full server product LC Reader Extensions ES2. Come back if you need more info.
    Good luck,
    Niall

  • How can I add a button to add multiple image in PDF from using adobe acrobat pro?

    I have to create a pdf form using Adobe Acrobat Pro X.
    In this form I want to add a button where I can add multiple images to the field.
    I have tried using javascript event.target.buttonImportIcon(); and successfully add an image, but when I want to add the 2nd image it automatically overwrites the previous one.
    Is there any way to solve this issue? I would like to have a form where I can add a lot of images in it. It is possible in word, but we really have to use adobe.
    Thanks

    Hi thanks for your answer.
    I can add multiple button, but if there are 10 images that I wan to add, then I have to create 10 buttons.
    Moreover, the pictures will be placed on top of each other and it means that you cannot see it clearly.

  • How to: add images into an Interactive PDF

    I was wondering if it was possible to add images into an interactive PDF once it has been sent to someone. The PDFs are forms that need to be filled by a client via their iPads using Adobe Expert, and they may need to occasionally attach images to the document and be able to edit these images (i.e. circle parts of the image to highlight them) then send these PDF's back to myself.
    Is there a way this can be done?
    Thanks

    There is no program on the iPad called Adobe Expert. I think you mean Adobe Reader.
    Adobe Reader lets you fill in forms but not to attach images. If you wish to make a request of the Adobe Reader product manager, you can post on the Adobe Reader for iOS forum here:
    http://forums.adobe.com/community/adobe_reader_forums/ios

  • Add a search function to my online PDF Portfolio?

    Hi there,
    I'm wondering if it's possible to add a search function that searches for keywords within all the documents in my online PDF Portfolio, like there is in the standalone desktop version.
    I want to make the PDF's available online but a key function is for users to be able to search for various topics within the documents without reading each and every one of them.
    Best wishes,
    Thorsteinn

    Has nobody every wanted this function? It seems to me the key function of PDF portfolio's and it is blatantly missing in the online version. Whats up?!

  • Add signature image to pdf preview

    I have a medical practice where pdf's are created in a browser window to preview. I'm looking for a way to add an image of my signature to the pdf prior to printing.
    Currently I have to download to desktop and open with Preview (mac) or Foxit (pc) - add the signature; then print or fax or email.
    Is there a workaround or add on that will help?

    Firefox's PDF viewer and the Adobe Acrobat plugin are "read only" and you can't modify the PDF using either one. (In Adobe's you can fill in form fields if the creator of the PDF allowed that.) I don't know about Foxit, but it also might be "read only" in the browser.
    I've never heard of a plugin that lets you edit a PDF in the browser, perhaps because it would be difficult to save the results? But you might search around for one, maybe it's out there.

  • How to add a image to header of exporting pdf in devexpress gridview

    hi guys ;
    how to add a image to header of exporting pdf in devexpress gridview content

    Hi Aly14,
    I am not sure what the type of your project was, is it a C# project or an asp.net project?
    If would be helpful if you could share us more information about your issue.
    In addition, I made a research about your issue and I think the links below might be useful to you:
    # ASPxGridView insert an image for Header and Footer sections for pdf export
    https://www.devexpress.com/Support/Center/Question/Details/Q37155
    # Adding an "Export Header" to PDF export in MvcGridView
    https://www.devexpress.com/Support/Center/Question/Details/T141918
    Best Regards,
    Edward
    This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore,
    Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you
    completely understand the risk before retrieving any software from the Internet.
    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.

  • Advanced Image Functionality

    This may sound off the wall:
    I need to take a pdf and display it a person over the
    internet. I need them
    to be able to add an image anywhere they want in that pdf (If
    I need to
    change the pdf to a jpeg or gif, that's fine).
    Imagine that they're looking at the image in their browser.
    They click on a
    specific part of the image they want to push a thumbtack (for
    example) into.
    The thumbtack appears on that spot of the image. They should
    be able to
    repeat this several times, so there may end being several
    thumbtacks on the
    image. The image then gets saved that way once they're done.
    Any ideas on where to start?

    Interesting idea... Thanks.
    CF_output wrote:
    > You may want to search for a javascript/ajax application
    that may already have
    > this functionality..
    >
    > But off the top of my head.. you could do an image map..
    and based on the
    > section of the map that they click on, you can use the
    cfimage tag in cf8 to
    > place text (or miscellaneous images) on top of your
    original image.
    >
    > Once you have the new image rendered - just call the
    image within your
    > cfdocument tag, and you have your new image and pdf
    file.
    >
    > Just a thought?
    >

  • Dynamic pdf up to 200 images, the size of pdf is larger, cannot save data and images to the form

    Hi all,
    My client would like to dynamic images up to 200 pictures to my forms. It is working fine. However, when I add images up to 35 images. I could not add images to the form any more. Then, I save data on the form. All images and data typed on the form are disappeared. I don't know reason.
    If I only add 10 images - I can save data and images on the form. The size of pdf is 15456 kb.  I was unable to  add more pictures or data on the form.
    Maybe there are problem the size of pdf? How much size can an dynamic pdf  limited?
    Can we save the information and images as much as we want?
    I have spent 2 weeks to work and try to figure out this problem. However it is not successful.
    Please help,
    Cindy

    You should ensure, that your users do not import big images.
    Therefore you can use a script on the change event of an image field which checks the data size and warns the user if the file is too big.
    function formatNumber(number) {
        var num = number + '',
        x = num.split('.'),
        x1 = x[0],
        x2 = x.length > 1 ? '.' + x[1] : '',
        rgx = /(\d+)(\d{3})/;
        while (rgx.test(x1)) {
            x1 = x1.replace(rgx, '$1' + ',' + '$2');
        return x1 + x2 + "KB";
    var sizeLimit = 200, //allow upto 200KB images
      thisSize = Math.round((this.value.oneOfChild.value.length * 3 / 4) / 1024);
    if (sizeLimit > 0) {
      if (thisSize > sizeLimit) {
      xfa.host.messageBox("Note: With " + formatNumber(thisSize) + " the size of the imported image is greater that the recommended maximum of " + formatNumber(sizeLimit) + ".\nLarge images can cause a insufficent performance.\n\nIf possible, use images with the following recommended specs:\nFormat:\t\tPNG or JPG\nColor depth:\t8 Bit (higher is not supported)\nColor space:\tRGB (CMYK is not supported)\nFile Size:\t\t" + formatNumber(sizeLimit), "Recommended image size exceeded", 3, 0);

  • How do I add multiple images into one file?

    I'm sure this is something that's been covered in another post (or even in the help portal) but I think my wording in my search terms are not correct or... I don't know, because I just can't find what I'm looking for.
    I want to know how to add multiple images into one file/one image, both horizontally and/or vertically. To give you an idea of what I mean, check out :
    http://www.best10apps.com/apps/comic-story,531596060.html
    If you scroll down, you'll see a heading entitled : Screenshots of Comic Story. Notice how there's 3 pictures (divided by borders). 2 of those pictures are side by side, and 1 of them is below the first 2 pictures.
    I want to know how to add different pictures/images and put them into one picture.

    One way is to create template PSD files and populate them with your images using Photoshops scripts.
    Photo Collage Toolkit UPDATED June 12, added Picture Package Support via PasteImageRoll and BatchPicturePackage scripts.
    The package includes four simple rules to follow when making Photo Collage Template PSD files so they will be compatible with my Photoshop scripts.
    There are eleven scripts in this package they provide the following functions:
    TestCollageTemplate.jsx - Used to test a Photo Collage Template while you are making it with Photoshop.
    CollageTemplateBuilder.jsx - Can build Templates compatible with this toolkit's scripts.
    LayerToAlphaChan.jsx - Used to convert a Prototype Image Layer stack into a template document.
    InteractivePopulateCollage.jsx - Used to interactively populate Any Photo Collage template. Offers most user control inserting pictures and text.
    ReplaceCollageImage.jsx - use to replace a populated collage image Smart Object layer with an other image correctly resized and positioned.
    ChangeTextSize.jsx - This script can be used to change Image stamps text size when the size used by the populating did not work well.
    PopulateCollageTemplate.jsx - Used to Automatically populate a Photo Collage template and leave the populated copy open in Photoshop.
    BatchOneImageCollage.jsx - Used to Automatically Batch Populate Collage templates that only have one image inserted. The Collage or Image may be stamped with text.
    BatchMultiImageCollage.jsx - Used to Automatically Batch Populate Any Photo Collage template with images in a source image folder. Easier to use than the interactive script. Saved collages can be tweaked.
    BatchPicturePackage.jsx - Used to Automatically Batch Populate Any Photo Collage template with an image in a source image folder
    PasteImageRoll.jsx - Paste Images into a document to be print on roll paper.
    Documentation and Examples

  • How to Add an image to an href link when using html

    I am creating specific links that redirect to specific pages using java script and want to add an image instead of using text.   Here is an example of the anchor tag
    <a href="***siteloklogout***">logout</a>
    This is a logout function that redirects to the home page.  Not sure how to attach an img.  I have uploaded the image to the ftp but cannot get it to work. 
    Is there a way to attach links using the current hyperlink tool in Muse or is there a way to load the image asset into muse.

    Hi CSchonhaut,
    There are two ways that I can suggest.
         1. Apply the fire image to the rollover of the Menu Item,
         2. Use the Composition Widget - tooltip. Place the trigger on the hyperlink and target behind it, so that once you hover the trigger, target with the fire image in it pops up.
    Hope that helps.
    - Abhishek Maurya

  • How to add a image in the DocSign example

    Hi,
    I am struggling to add a image to the DocSign example instead of text. If somebody could give me a few hints it would be much appretiated.
    I am currently modifying the CreateN2XObject function.
    My situation is as follows:
    I am drawing a image using the wxWidget library. From this a save the raw pixel data to a file. The pixel data is an array of unsigned chars where the first RGB triplet corresponds to the pixel first pixel of the first row, the second one to the second pixel of the first row and so on until the end of the first row; and so on...
    In the CreateN2XObject I create an ASStm to read this file.
    I create an attribute dictionary for this image
    And then a new cos stream from the ASStm and dictionary
    When I return from the function the plugin says that it is successfully signed, but I see nothing on the screen.
    When I open the 'signed' document in a text editor I see:
    <</Subtype/Form/Length 16038/Name/PROS/BitsPerComponent 8/Matrix[1.00011 0.0 0.0 1.00011 0.0000305176 0.0000305176]/ColorSpace/DeviceRGB/Width 54/Height 99/Type/XObject/BBox[0 76 238 0]/FormType 1>>stream
    the data in the file
    endstream
    Below is the code I use to make the image i.e. CreateN2XObject:
         DSAPXObjEntryRec signRec;
         memset(&signRec, 0, sizeof(DSAPXObjEntryRec));
         signRec.rect = *pBBoxRec;
         signRec.bDestroy = true;
         AVDevRect rcDev = { (int)ASFixedToFloat(pBBoxRec->left), (int)ASFixedToFloat(pBBoxRec->top), (int)ASFixedToFloat(pBBoxRec->right), (int)ASFixedToFloat(pBBoxRec->bottom) };
         const char* baseDirectory = "C:/temp/data";
         ASPathName exampleFilePathName = ASPathFromPlatformPath ((char*)baseDirectory);
         ASFile theFile;
         ASInt32 retVal = ASFileSysOpenFile(NULL,exampleFilePathName, ASFILE_READ, &theFile);
         int len = 16038;
         ASStm inStm = ASFileStmRdOpen(theFile,len);
         char tmpsize[255];
         sprintf(tmpsize,"%d",len);
         AVAlertNote("tmpsize");
         AVAlertNote(tmpsize);
         //sprintf_s(buf, 125, "1 0 0 RG %i %i m %i %i l S", rcDev.left, rcDev.top, rcDev.right, rcDev.bottom);
         //ASArraySize len = strlen(buf);
         //int len = 19758;
         //ASStm inStm = ASMemStmRdOpen(buf, len);
         CosObj attrDict = CosNewDict(cosDoc, false, 1);
         CosDictPutKeyString(attrDict, "Type", CosNewNameFromString(cosDoc, false, "XObject"));
         CosDictPutKeyString(attrDict, "Subtype", CosNewNameFromString(cosDoc, false, "Image"));
         CosDictPutKeyString(attrDict, "Width", CosNewInteger(cosDoc, false, 54));
         CosDictPutKeyString(attrDict, "Height", CosNewInteger(cosDoc, false, 99));
         CosDictPutKeyString(attrDict, "ColorSpace", CosNewNameFromString(cosDoc, false, "DeviceRGB"));
         CosDictPutKeyString(attrDict, "BitsPerComponent", CosNewInteger(cosDoc, false, 8));
         CosDictPutKeyString(attrDict, "Name", CosNewNameFromString(cosDoc, false, "PROS"));
         CosDictPutKeyString(attrDict, "Length", CosNewInteger(cosDoc, false, len));
         CosObj cBBoxObj = CosNewArray(cosDoc, false, 4);
         CosArrayInsert(cBBoxObj, 0, CosNewInteger(cosDoc, false, rcDev.left));
         CosArrayInsert(cBBoxObj, 1, CosNewInteger(cosDoc, false, rcDev.top));
         CosArrayInsert(cBBoxObj, 2, CosNewInteger(cosDoc, false, rcDev.right));
         CosArrayInsert(cBBoxObj, 3, CosNewInteger(cosDoc, false, rcDev.bottom));
         CosDictPutKeyString(attrDict, "BBox", cBBoxObj);
         AVAlertNote("Creating cos stream");
         CosObj cStmObj = CosNewStream(cosDoc, true, inStm, 0, true, attrDict, CosNewNull(), len);
         AVAlertNote("Finished creating cos stream");
         ASStmClose(inStm);
         signRec.xobj = cStmObj;
         AFPDWidgetBorderRec border;
         AFPDWidgetGetBorder(PDAnnotFromCosObj(sigAnnot), &border);
         AVAlertNote("Returning DigSigAPXObjectFromXObjList");
         return DigSigAPXObjectFromXObjList(cosDoc, pBBoxRec, &signRec, 0, 0, &border, kDSMerge);
    Regards,
    Magda

    Thanks!
    So, even though I am spesifically telling it to create an Image type with CosDictPutKeyString(attrDict, "Subtype", CosNewNameFromString(cosDoc, false, "Image"));
    I must still create a Form object around it?

  • How to add an image in multiple pages?

    Hi,
    First be aware that before posting this, I digged into Google but could not find a solution.
    How to add an image in the footer section of a PDF document of size, say, 500pages? I am not going to add it one by one in very page, it's too time consuming.
    Is there a way to add it in the footer section or any other alternative, so that I end up with the same image in an exact position in all 500 pages?
    Thanks for your reply
    Best,
    Eric

    Answer:
    Answer: http://forums.adobe.com/message/3437269#3437269

  • First Script: Need some basic skill help? Can you add an image with a click?

    Hello, Im working on a project were you can replace people heads in a photo. Its for a project so its not supposed to be perfect. So far heres what i think the best steps to take are, but im not sure how to take the first scripting steps. How can i add an image with a script? How can i store a x y coordinates?
    1. I would create four variables and than store the XY cords of the the high point of the head, the bottom of the chin, amd the farthest right and left of the face.
    2. I would than add the image of the head that I would already have.
    3. If the x coordinates of the top and bottom are off kilter, I would rotate new head until = old face dimensions..
    4. I would also see if the width is too big or small and resize accordingly
    5. I would than resize the head so that the eyes would match up.
    Thanks for any help you can provide!

    Is that script for a browser html. Its not for Photoshop and like Photoshop would fine UiApp undefined so does Microsoft.  Is that a Chrome script or Android script? Why post it here?
    Atiqur Sumon wrote:
    function doGet() {
       var app = UiApp.createApplication();
       // The very first Google Doodle!
       app.add(app.createImage("http://www.google.com/logos/googleburn.jpg"));
       // Just the man in the middle
       app.add(app.createImage("http://www.google.com/logos/googleburn.jpg", 118, 0, 50, 106));
       return app;

  • Why does my font color change when I add an image to InDesign?

    Hello, I am doing a page layout in InDesign and I am using a light blue font for my title but when I add an image from Photoshop, the font color turns dark blue. When I open the InDesign file in Adobe Acrobat, my title is still dark blue. It's only when I make a PDF of the file in Acrobat and open it in the Safari browser that the title goes back to its original light blue font. Is there something I can do to fix this? Thank you!

    Not a good idea. The flattened PSD has lost all its layers, adjustments, and effects. I hope you don’t need to edit it or change any layer’s visibility. Either that or you now have two files to keep track of and have neutered InDesign’s Edit Original feature. Better to take Peter’s advice and place the text above the image so it is not affected by transparency flattening. If you need the text below because you want the drop shadow to interact with the text, then use Overprint Preview (View menu) or Separations Preview (Window > Output) to get a more accurate view of the text colour.

Maybe you are looking for

  • How can I display Excel using Word VSTO Addin.

    Hi all. I am a beginner. And studying Word VSTO ribbon addins. I wrote very simple one (works charm );    Microsoft.Office.Interop.Word.Application  oAPP  =  Globals.ThisAddIn.Application; oAPP.Selection.InsertAfter( " Hello, Word !! " );         oAP

  • Dunning as PDF - Problem with output

    Hi experts, I have a problem with the dunning as email. Everything works fine here with the dífferent threads (BTE 1040) - but the output is not in PDF-format. When I look at SOST, the attachment ist in *.EXT format... Does anybody know what's the pr

  • Access FTP with whitespaces in dir names

    Hi,  I'm trying to make a recursive list of files in an FTP directory. While FileZilla deals with whitespaces in directory names with no problem, it seems that Labview struggles a bit. Indeed, if I ask labview to get the files and directory of a fold

  • Download iBooks Author 1.0/1.1?

    Upgraded to iBooks Author 2.0 and it has rendered my book file unusable. Is there a way to download iBooks Author 1.0/1.1 after you have upgraded to 2.0? I have tried the book file with a friend's iBooks Author 1.1 and it still works, so it's somethi

  • Chapter title won't render correct font in portrait mode

    I'm trying to change the default chapter title font (Georgia) to Helvetica Neue.  It renders fine in landscape mode and in the TOC, but if I look at it in portrait mode it doesn't render the font correctly and stays Georgia.