Get the link to the placed image

I put a graphic image on a page file in a JavaScript InDesign (CS6):

var imageArray = page.place (imprintFile, [imprintImageLeft, imprintImageTop]);

var imprintImage = imageArray [0];

var imprintImageFrame = imprintImage.parent;

var imprintLink = myDoc.links.lastItem ();

I want to get the link that is created when the image is placed. What is the way to do it (the lastItem table of reference links)?

All I want to do is to ungroup the image to make it embedded. Is there a better way to do it?

Thank you!

Hello

calling the unlink() with your link image property:

imprintImage.itemLink.unlink();

Jarek

Tags: InDesign

Similar Questions

  • I really want to get the IMAQ Image IMAQ Arry case to Image.vi files

    Hello!

    Although already, I installed LabVIEW8.2 and NOR-IMAQ, I don't have IMAQ Image cases and IMAQ Arry Image.vi files.

    To use the infrared camera, I need them.

    I really want to get the case Image IMAQ Arry Image.vi files IMAQ.

    How can I get these files?

    Please, let me know the methods.

    Sincerely!

    Thank you very much for your explanation.

    Solve the problem.

    Have a nice day ^ ^

  • I recently bought two pictures for my youth group. When I looked behind them image is a larger image, but, when I downloaded it it's a smaller image. How can I get the enlarged image?      #93598775 & #18109349

    I recently bought two pictures for my youth group. When I looked behind them image is a larger image, but, when I downloaded it it's a smaller image. How can I get the enlarged image?#93598775 & #18109349

    Follow these steps: I downloaded my 10 free images and they all have the Adobe watermark on them, so I can't use them. Why do they have a watermark on them?

  • How do you get the Windows Image Acquisition (stisvc) service to restart?

    HP Pavilion DV6-2088dx running Win 7.0 64 Bit Ultimate

    When I try to restart the Windows Image Acquisition Service I get a message access denied (Services tab in the Task Manager) or an "error 1068: the dependency service or group could start" (in the Services window).

    Hello

    One thing to check is the following.

    Open windows control panel, open administrative tools, and then open Services.  Make sure that the following services (order of th specified below check them) are all showing that status = started and the Startup Type = Automatic

    Remote procedure call (RPC)

    Detection material core

    Windows Image Acquisition

    If you need to make a change to one of the above, just right-click the service and select Properties, and then in the drop-down list box next to "Startup Type", select automatic and click on apply to save the changes.  Then click on the Start button.

    Kind regards

    DP - K

  • get the Bitmap Image of the web site or remote location

    Hi, yesterday I asked for some ease of image horizontal scorlling with blackberry. It's work very well. Thank you for all.

    But I could not do my job. What I need, that I have to get the Image from a web site (not in the project of ths) and display it in the BB device. I can do this and I get byte array and show the image using BitmapField. But this installation of scrolling does not work with the bitmap field.

    Is is them possible to get my web site dynamic images of the Bitmap object?

    Here is the code that you sent me.

    // ------------------------------------------

    package com.falseflag.blackberry.recipes;

    Import net.rim.device.api.system.Bitmap;
    Import net.rim.device.api.ui.Graphics;
    Import net.rim.device.api.ui.UiApplication;
    Import net.rim.device.api.ui.component.Dialog;
    Import net.rim.device.api.ui.container.MainScreen;

    class ScrollingImageRecipe extends UiApplication {}

    private class ScrollingImageScreen extends form {}
    private static final int HORZ_SCROLL_FACTOR = 10;
    private static final int VERT_SCROLL_FACTOR = 10;

    Bitmap bitmap;
    int left = 0;
    high int = 0;
    int maxLeft = 0;
    maxTop int = 0;
           
    public ScrollingImageScreen() {}
    bitmap image = Bitmap.getBitmapResource ("test.png");
           
    If (bitmap == null) {}
    UiApplication.getUiApplication () .invokeLater (new Runnable() {}
    public void run() {}
    Dialog.Alert ("Failed to load image");
    System.Exit (0);
    }
    });
    return;
    }
               
    If (bitmap.getWidth () > Graphics.getScreenWidth ()) {}
    maxLeft = bitmap.getWidth () - Graphics.getScreenWidth ();
    }
               
    If (bitmap.getHeight () > Graphics.getScreenHeight ()) {}
    maxTop = bitmap.getHeight () - Graphics.getScreenHeight ();
    }
    }
           
    protected void paint (Graphics graphics) {}
    If (bitmap! = null) {}
    graphics.drawBitmap (0, 0, Graphics.getScreenWidth (), Graphics.getScreenHeight (),
    bitmap, left, top);
    }
    }
           
    protected boolean navigationMovement (int dx, int dy, int, int time status) {}
    left += (dx * HORZ_SCROLL_FACTOR);
    top += (dy * VERT_SCROLL_FACTOR);

    If (on the left< 0)="" left="">
    If (upper-< 0)="" top="">
    If (left > maxLeft) left = maxLeft;
    If (top > maxTop) top = maxTop;

    Invalidate();

    Returns true;
    }
    }

    Public Shared Sub main (String [] args) {}
    ScrollingImageRecipe app = new ScrollingImageRecipe();
    app.enterEventDispatcher ();
    }
       
    {ScrollingImageRecipe()}
    pushScreen (new ScrollingImageScreen());
    }

    }

    //-------------------------------

    Please be so kind to give me a solution for this issue.

    You can use a browserfield to display web content in your application.  Take a look at the browserfielddemo provided with the BlackBerry JDE for example

    If you ask how to connect to a web site, please see the httpdemo.

    This example shows how to create a scrolling image field.

    -Creates a scrolling Image field
    Article number: DB-00681

    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800505/800345/...

  • InDesign ePUB - can't get the background image to flush vertical css borders

    Hello

    I'm testing my new found skills epub in InDesign CC2015. I'm working on a simple project which was originally for printing (pdf) and decided to make an epub version. I created an external css file where I included the left and right borders for aesthetics. These borders are growing and contracts vertically, depending on the amount of content exists on the page.

    The problem I've come across is if I have a picture as the last asset on the page, the image appears slightly higher than the lower part of the border (see screen shot on the left). It seems that it is a pixel or two higher. The pixelated graphic is anchored to an empty paragraph with a single non-breaking space character. The text block has no indentations, no space before / after values and auto leading together. Object styles have been created for the frame and a paragraph and graphic style has been made to the text. This happens for any image I load in the page and place it at the bottom.

    In the another screenshot, I have a block of text as the last element, and I get a perfect drop-in appearance at the bottom (turned to the right of the screen).

    I cracked open the epub and seen in Chrome html pages. I launched the F12 tools to see the HTML and css code and margin all values are reset to zero. I can't understand why this only happens for images and no text blocks. Anyone has an idea why this happens?

    digital-editions-1.jpgdigital-editions-2.jpg

    I recently found the answer to my own question. I indicated that I was with a CSS file external to add some additional styles, mainly for vertical borders. After, I cracked open the ePUB, I opened the page html in Chrome and dug down to find the via F12 tools.  I pointed out the tag and took a glance at the corresponding CSS. There is no margin value so I added a img {margin-bottom:-3px ;} entry and it's the bottom of the image, run ras from the bottom of the border.} Then I went back to my file CSS external to the ePUB and added values. When you export to Adobe Digital Editions, I got the same desired results. The other images in the document may not be visually compromised this either so I think that's a wrap.

  • How to get the background image to fill the browser and stay fixed in IE and Firefox?

    Basically what it says in the title. I came very close to achieve, but something comes to Moor in the html and css code...

    First of all, I use the latest version of Firefox and IE8 to test this situation.

    I used 2 sources of information to get this done: 1) http://css-tricks.com/perfect-full-page-background-image/ and ) 2 http://stackoverflow.com/questions/8958697/css3-background-size-cover-doesn ' t-make-image-co-ver-vertical


    In 1 case , the example of the called page CSS-Only Technique #1 gives the code that works almost perfectly for me, except that obviously I need to a background image, but the CSS provided ago obviously just for an image has fallen in the body of a page without taking account of any other content that may already be there. "The html code that I put on the page is simply < img class ="bg"src ="... / pictures/background_image.jpg "> "

    Of course, I used the CSS code in the example, less the last piece which is "@media screen" etc., which seems irrelevant to me. Of course by replacing the values according to the picture on my page.

    So what happened was that it worked almost as expected in both browsers (which means the image filled both browsers first as it should and also remained fixed when I zoomed in, inside or outside, in each case), except that the picture went on top of the current content that I already there precisely because there isn't a background in this 'technical '. (A note on the side of curious, is that the image didn't turn down content, I expected under normal circumstances, but he went right on top of it so she she hidden (like the z-index).)

    One thing that bothers me in this regard 'technical' is that if you click on view the demo just below the code provided, you will see on the example of work page (bottom of the forest), the image clearly works as a backdrop and the content is fortunately located on top! So I don't know if the person who provides the example was trying to deceive people or what! Or he got lazy and showed another page which did not use the exact code, he has provided. No matter.

    In any case this leaves me with only half-completed work, because I still need a background image that functions as the 'normal image' code provided.

    In 2 cases and on this page, the first example provided gives the CSS for clutter - namely the code in the html {...} part and shows also the same "normal image" code as shown in box 1. In this case however, that the person provide a suggestion, the html and the css is not really properly more Moor some css and html seems a little redundant. So this time, when I used the part "html" in the CSS code (i.e. just the bit that was no longer relevant), I had two different behaviors in each browser and neither of which was quite what I'm looking for. In IE8, initially the page seems well (background fills the page and the content is on top) but when I Zoom in or out the background also zooms in or out accordingly so is NOT fixed. In Firefox, the background image stays fixed, but because the image is initially not the height of the browser I guess the code it extends down (keeping the proportions - so the image enlarges essentially) to fill it. The fast way to get around it is probably add white space at the bottom of the image just to give it sufficient height is not extensible / resize automatically. But it would be nice to know at least how to work around this problem in the code. Overall, I would say that the result in Firefox is closest to the desired solution, but of course it is not arranged things with IE8.

    Apologies for the long description, but which should at least provide much info for anyone who might have a possible solution for me. Essentially what would be great is if someone could advise me how to take the code of case 1 and apply it to a piece of 'background' coding as the type that is contained in html {...} in Case 2 . Like I said, it is almost there, but I just can't operate atm after trying to combine different bits of code this way and that... Also, if anyone has another version of html-css that works well to achieve then please by all means of let me know! V thanks a lot in advance!

    It works in modern browsers of the CSS3 support.  But not pre - IE9.

    http://ALT-Web.com/test/resizable-BG.shtml

    Nancy O.

  • geometricBounds undefined for the placed image

    Hi all

    I am just placing graphics inserted into a textFrame and their size so that they are exactly the same width as the textFrame. I mainly do this:

    var reportFrame = app.selection [0]; Suppose that a block of text is selected

    chart of var = new File ("foo.png").

    var insPoint = reportFrame.insertionPoints.lastItem ();
    inline var = insPoint.place (graphic) [0];

    If {(inline.isValid)

    var inlineBounds = inline.geometricBounds;

    }

    The last line fails, even if valid, fixed graphic because the graphic is larger than the text block (so the text block is full). Apparently in this case, InDesign doesn't keep track of the limits of the object, as part of the object is outside the (logical, I guess).

    I need to know the size of the chart, so I can properly develop his frame parent to be of the same width as the textFrame encompassing.

    I came up with a workaround that seems to be a terrible hack: to scale the chart down to a ridiculously small value (5%), how it is quite in the textFrame. At this point, I can get the limits, after multiplying by the scale factor to get the true limits, calculate a value true scale factor, then set limits correctly.


    Any suggestions on the correct way to deal with this problem? Can I use my hack, but then I have to visit my membership card Club Cool programming interface.

    Thanks in advance for all advice.

    Kind regards

    Chuck

    Hi Chuck!

    You can try using pageItem.resolve () and pageItem.reframe () or resize(). I'm sure that it works even if it is not made up.

    It's one of those things that I had intended to try for a long time already, but work continues to go the way...

    Substances

  • I get the 'BAD IMAGE' when many *.exe files is available. The error image refers to "BROWSE ~ .dll." What is the correct file name?

    When I type (OK) the computer continues to the application, I entered, but there may be a range
    in the opinion of the 'BAD IMAGE' with various. EXE files. Somehow gotten past as the correct file name cut short
    what he should ever TRAVEL ~ .dll. I can rename it leaving out the "~" symbol, but I don't know what to rename it.
    Help?

    Hello

    It would be useful to the Windows OS is supported .

  • I have the '10 images per month', but it seems that I never get the "10 images per month.

    I have the "10 images per month", but it seems that I have never the '10 images per month', I buy a lot of images every month, but after the first month, I never got the 10 images for the following month... what gives?

    Just reply to I sent a private message.

  • Size of the placed Image and the difference in quality

    Hello world

    I'm under Indesign Adobe cs6 Version 8.01

    I have a document which is 2048px x 1536px (for iPad resolution Retina display).

    I reszied all my images to about 1140px x 760px at 300PPI

    When I place images in Indesign it resizes the image to 180px x 272px

    The number of effective pixels and actual pixels are 300 PPI resolution that I've resized the in photoshop under the links section

    The quality of the preview is set high quality

    In the File Handling preferences preserve Image Dimensions when the restoration of the links are on

    I tried to save the image in Jpeg, Tiff and PNG formats to solve the problem

    I set my default object style Frame Gun on site and be sure to adjust automatically is checked and the editing of content is set to None.

    What can be done to rememdy this problem?

    I want just the images that I've resized in Photoshop CS6 to be placed in the exact dimensions that I've resized to do the set up files simple and easy.

    If you can please help with this problem as soon as possible I would be very happy.

    Thank you very much

    Save images to 72 dpi (without resampling), or their scale in ID.

  • Report on the size of the placed image and resolution?

    I was asked by a customer today "CS4 allows you to create a report on the file names and sizes, they are accustomed to?"


    They're getting slides scanned at a higher resolution and the resolution over the cost.

    I guess I need: what appears in the Panel of info from the link (real and effective ppi), the size in inches or centimeters and (ideally) the width and height of the object boxes are placed in (to ensure that the harvest is not too drastic).

    Anyone know of any scripts or a secret Panel that I can't find?

    See this post.

    May be just what you need, or perhaps with a little tweaking.

    Noel

  • How can I fix the image of the error and get the regular image to load?

    Since the recent big update for Firefox I get a sort of error of loading of some images.
    Here: http://tinypic.com/r/103bf3l/8 I put one of these sites that give this error
    -The original which is supposed to show image is also available in this image
    Some sites give a different size of this image of the error, but it seems more like a triangle of error

    I've tried troubleshooting not loading images and none of these options worked
    If anyone has this problem or knows how to solve this problem, it would be a great help

    Solution found:
    With the theme "Stylish" addon "Google two themes" interfered with the loading of the image of the sites. Disable the theme was the solution.

  • ENVY of HP dv6-7204AX: need help to get the BIOS image file (ROM or BIN) for HP ENVY dv6-7204AX

    Hello everyone, I really need someone who could help me get an image file (ROM or BIN) bios for my laptop HP dv6-7204AX ENVY.

    For some reason, after that cleaning my fan cpu and everything put back toghether I had accidentally damaged the bios, because the electric sock, that's what the tech guy said :-(

    My computer is now automatically power on whenever I plug the adapter and nothing start (only caps lock led flashing continuously1time and black screen)

    Thank you

    Hello kieuminhuy... I'm sorry that you are having this problem with your ENVY dv6!

    kieuminhuy, you can go to the page of downlopad 7200 WANT dv6 to download and run the SoftPAQ BIOS proper.  You do not have to run this SoftPAQ on the failed system - it should work on any system!  When you run the SoftPAQ, chose the option to copy the image file of the BIOS to another location (see below).

    I hope this helps!

    WARNING: I am an employee of HP, but I am not a spokesman for HP.

    • If you found this information useful, please take a moment to click on "accept as a Solution.
    • If you do not want to say thank you, please click the 'thumbs up' to give me congratulations!

  • InDesign - Guides disappear behind the placed images?

    Hi - I'm having a strange problem at hand.

    Whenever I place a guide on the page, it shows until an image is placed above him, and then he disappears behind the image. I can still click on it and see that highlight, but once I click on something else it disappears.

    Someone had this problem? Any ideas to solve the problems?

    Thank you!

    There are guides in back option in Prefs:

    Is it permits?

Maybe you are looking for