Image Placing Problem

I am trying to place .ai file in InDesign CS2.
while placing the image right side shows some white space.
How to remove the white space using javascript.
please help me.
Thanks in advance........

Hi I dropped a look with a AI file.
I get for my own a space all around the graphic. But in fact, it depends on the placing options of the place dialog box. If I set placing options to "graphic", I have no more extra spaces.
Bad news is that with the JS place command, it seems that you can just ask for displaying or not the place dialog box but not set the options from this point.
I don't know if it's the answer you wait. However, if it's just the frame that is too wide regarding to the graphic, you can use
myContainer.fit(FitOptions.FRAME_TO_CONTENT)
//myContainer is the parent container of your graphic
Hope it helps
Loic

Similar Messages

  • [CS3 Server] Image placing problem

    I use kImportAndPlaceCmdBoss command for placing text and images into my document.
    With text it works correctly but when I try to place image (jpg) I got grey rectangle instead of image. Command processed without any error message.
    What is the correct way to place image?

    Thanks Ian. This works.
    Also I have other problem that could relate to IServerSettings interface: redo/undo doesn't work in my plugin.
    In the comment to the IServerSettings interface there is remark about this:
    The undo state is referenced when creating new documents and is used to control the document's
    command mgr undo state.  Changing the undo state with IServerSettings has no effect
    on the current undo state of a document, only new ones.  By default the undo state is kFalse
    for increased performance.
    but IServerSettings doesn't contain any methods for enabling this feature.
    Is there other way to do this?

  • Last image placed in the document comes up as being modified constantly

    I have an indesign issue.
    Running CS4 (6.06) and CS5 (7.0.4)
    On snow leopard  10.6.8
    On a Mac Pro Quad-Core Intel Xeon
    My problem is that when I have a document with images in for some reason it seems that the last image placed in the document comes up as being modified.
    I do the required update everything appears up to date save the job and the same link will again show as being modified, so I get in to an infinite loop.
    This happen with documents saved locally and on a server, with documents I created and documents I have picked up form other artworkers.
    It is not an issue with specific link as we have seen this in many linked images, I tried to identify a trigger for this problem.
    I took 4 images placed them into a document save locally in my desktop opened closed the document after each image was placed, it work fine for all 4 images on there own. I added a text box to my document saved and the last image placed then flagged are being modified in my links panel, I deleted the image that was flagged as modified from the document and saved, as soon as I saved the next image in placed order now came up as being modified (this image was not flagged and being modified when I have 4 images placed).
    If I remove the text box from this document at any point then no images are flagged as modified.
    Just to confirm. This in not based around one document, specific images or one mac. I didn’t have this issue with 10.5.8 and Older CS4 on the same machine.
    Please help??

    You said this is not an issue on just one machine. Does this mean that other machines are alos showing this behavior?
    The first thing to try for any flakiness like this is: Replace Your Preferences
    That said, this sounds like it coud be some sort of conflict. Are you running any third-party plugins?

  • AS fails to identify an image placed in html text via an img tag in a TextArea, while doing so correctly with textField.

    A best-efforts session with identifying, in ActionScript, an
    image placed in a TextArea and identified with id, leads me to
    wonder whether the id attribute is supported.
    I have on disk a jpeg file of the amazom.com logo, a small
    image.
    In a scene, I have a TextArea with instance name
    TextAreaPane, and a Dynamic textField with instance name
    DynamicPane. Both of the html attributes in their properties panes
    are set to true. There is a button onstage with instance name
    "ShowIt".
    If my script reads:
    copyToShow = 'This is one place to see it: <img
    src="D:/Imgs/amazon.jpg" id="nineties"><br>'
    TextAreaPane.text = copyToShow;
    DynamicPane.htmlText = copyToShow;
    ShowIt.onPress = function( )
    trace ("Via TextArea, I can identify: " +
    TextAreaPane.nineties);
    trace ("Via the textField, I can identify: " +
    DynamicPane.nineties);
    After the movie loads both in the Player and in the Windows
    Projector, the image and text show correctly in both text panes.
    When I hit the button, I get:
    Via TextArea, I can identify: undefined
    Via the textField, I can identify:
    _level0.DynamicPane.nineties
    Hitting the button after the scene starts playing allows the
    very short asynchronous access time to elapse, so this isn't a case
    of loading a textfield in one line of script, and then in the next
    line expecting for ActionScript to have access to it.
    Of course for the Projector I send these statements to a
    textField on stage to see what trace gives me, and they're the
    same.
    I tried placing the two fields inside a movie clip (and
    adding that movie clip instance name to the head of their dot
    addresses), wondering if being a sub-object of a movie clip would
    help, but the same results -- the textField handles it, while
    TextArea doesn't.
    ... Does anyone have a means of getting better results?

    Tim,
    Many thanks for the clue and the amendments -- once I had
    finished a late night of it, a cleanup chore unearthed a magazine
    that's had me engrossed for a day and a half and produced the
    appearance of ignoring your replies; actually the computers have
    been off.
    I won't be back to it for another few hours at least, but
    wanted to acknowledge the support; the hints in your message look
    like they'll be the beginning of another day at it; I'll send word
    when there's some kind of results.
    I sent the same message to Adobe in their LiveDocs section, a
    forum where they variously now tolerate people saying 'How d'ya do
    this', 'How d'ya do
    that', then now reply that that isn't the right forum for
    how-to's, but rather for documentation problems. Well, since the
    intro to TextArea says that it supports all the html that Flash
    does, I added in the message that the inability to do the
    dot-addressing-image-access that they explain under id is a
    discrepancy, so qualifies to post even if they're in their
    rule-adhering mood, but it hasn't appeared yet -- either under
    review or discarded.
    The reason I'd chosen TextArea was that the text column will
    sometimes be long, and it would be nice to get the overage out of
    sight by having a window that shows only the window's worth, hiding
    what's above and below. (As you probably know, since attempting to
    cover text in a dynamic field with a mask causes all of it to
    disappear, that isn't an option.) The other night I felt I'd hit an
    impassable wall with Flash; in resigning myself to use the Dynamic
    Text field, I decided to cover the text overage with a translucent
    screen of color, and be it due to having no choice that it may, the
    desaturated stretches of text above and below would add ornament
    and atmosphere to the screen, a faintly techno note. Since there
    will often two to four of these scrolling fields going, an
    intricate, happenstance pattern would develop that might turn out
    to be nice.
    But if the avenue you've opened starts working, I'll have my
    choice between the two objects.
    Quantainne

  • Images placed by InCopy disappearing in InDesign

    Hi,
    Does anybody ever faced a problem with images placed by InCopy CS5 (running Windows 7), that desapears when the INCA or INDD file is opened back in InDesign CS5 (running Windows 7).
    A client of mine (a newspaper publisher) is trying to solve this problem that they never had when they worked with InCopy CS3 and InDesign CS3, but started the same day they upgraded to CS5 version. Sometimes the images appears rotated in InDesign.
    This problem appears randomly (average three times each 100 images) and we cant identify any kind of feature or property of the images that make it happens, but is very annoying (the art team needs to place the image again) and quite dangerous if nobody realizes the rotation.
    Kind regards,
    Ricardo Minoru Horie
    ||||||||||||||||||||||||||||||||||||
    Bytes & Types
    [email protected]
    www.bytestypes.com.br
    twitter.com/rminoru

    I´ll recomend to the managers of all departments envolved to check the Link panels as soon as possible in InD and InC when the problems happens again, but as far I could see, in both aplications and all users, it's like that the the images were never placed. The InC users places de images from a folder in a Server, and everybody have privilegies to read and write into the server.
    All the templates and InD files were created in the CS3 version and converted to CS5 version by the opening process.
    Unfortunatly, due the fact that there are not a kind of "model of behavior", the problems can happen in any file, page or image frame.
    It looks like that a Gremlin that lives into the server, ramdomly chooses a few images every day and erase or rotate them... rs rs
    I´ll suggest to them to try to isolate the problematic frames into the InC and InD files to delete and recreate these frames into the templates files, or even the entire page or file.
    I would like to thank you for your helpful suggestions and I promisse to keep you informed about the solution of this mistery.
    Kind regards
    Ricardo Minoru Horie

  • I have LR5 on a mac book pro with a external hard drive with LR5 images. my problem is my external hard corrupted reformatedand have to this is expensive and i would to start over in LR5

    i have LR5 on a mac book pro with a WD external hard drive with my with my LR5 images . my problem is my external drive is corrupted .i was told by apple that my macshow the hard drive is there but it is not moumting and have to be reformat. i have to use recovery data to save my images on my external before i can refomat.iam willing to lose my images on my extenal hard drive but i would like to know can i erase my LR5 images and start over or delete LR5 and download it again

    Simply start a new catalog:
    File >> New Catalog
    Choose a new name and save.
    When the empty catalog launches you are ready to start over.

  • My iMac 27" Late 2012 has Image Persistence Problem

    I'm wondering what to do about an annoying image persistence problem on my 27" late 2012 iMac. I got the iMac just a few days ago. Monday actually, so 4 days ago.
    It's the 3.4GHz i7, 8GB, NVIDIA 680MX 1TB fusion drive model.
    Overall it has become the love of my life, but the image persistence thing is getting harder to ignore. This happens after only a few minutes of use. If I follow Apple's instruction on dealing with LCD image persistence, I can make it go away for a while, but it comes back very quickly.
    It is extremely noticeable on a plan dark background. It looks as thought he screen has been left on for a very long time with the same windows open, but it occurrs in less than 5 minutes of use with nothing more intense than a bit of web surfing.
    I've read that this is happening a great deal on these new iMacs, particularly teh 27" machines.
    While the problem seems to be known to those of us afflicted I don't know if Apple has acknowledged an issue or not.
    Here is a sample of the complaints: http://forums.macrumors.com/showthread.php?t=1509571
    I can make the ghost image vanish by bringing up an all white scree for a minute or so or using LCD Scrub.
    I'm wondering if anyone else has foun a solution other than asking for a replacement computer, which Apple seems to be granting on this issue?

    Avoiding image persistence on Apple (IPS) displays
    Avoiding image persistence on Apple LCD displays
    If you cannot resolve the issue yourself, then return the computer for a replacement. You may do this freely within 14 days from date of purchase, so don't delay.

  • Illustator Image placed in InDesign CS5 moving position when Exporting to PDF

    I have a Illustrator image placed on a master page and when I go to export to a PDF  the image moves to the left about 2 inches.
    The same image on another master page outputs correctly.
    I copied and pasted it from the page that is working correctly to this master page, but it still moves.
    Any ideas?
    Thanks

    Are you fully patched?
    Can you make this happen with a fresh file and different graphic?
    Tried the fix corrupt files by expoting to inx or idml?
    http://forums.adobe.com/thread/526991

  • PHP Image Gallery with Images placed every other paragraph

    Currently I have multiple images that where uploaded to the details page of Post 1. Every other paragraph I have an image displayed. With say 5 images.
    What I would like is that the user can click on the image and open up a gallery (on the same page, like Lightbox Gallery) and view through the other 4 images related to Post 1, as these images may not be full resolution on the details page.
    If I understand correctly, Lightbox makes a small thumbnail preview of the images, which I don't want, and lists them like a Gallery (Next to each other). Can anyone direct me on the best way to accomplish this?
    Thanks,
    Riley

    Sorry for the confusion, I didn't mean lightbox actually created the thumbnails, but it produces them similar to the link you provided which I don't want. My image uploader does create thumbnail images, but only one per new post.
    My format is similar to this:
    POST 1
    Text Paragraph1 (Image1 )
    Text Paragraph1 (               )
    Text Paragraph1 (               )
    Text Paragraph1 (               )
    (Image2) Text Paragraph2
    (               ) Text Paragraph2
    (               ) Text Paragraph2
    (               ) Text Paragraph2
    Now what I would like is that they can click on the picture and it opens up the image at say 600px X 600px resolution, with the next/prev buttons so they can browse through only the picutres on this page.
    I have been trying to find an example but seems that some take you to a different page of just the image you clicked on, or a new page with the gallery.
    I like how the lightbox gallery opens up on the same page, that way you close out of it and can continue reading. But I want to be able to have the images placed in different positions on the page, and not in a row like with a Gallery.
    I hope I help clarified what I am trying to do.

  • Problem: codebase, jar and image reloading problem please help!

    Hi Java Gurus,
    I have written an applet that extends JApplet for viewing webcam. In order to reduce the download time I put my classes into a doorcam.jar file. The following is my <applet> tag in my html file.
    <applet code="CameraApplet.class"
    archive="doorcam.jar"
         codebase = "webcam/classes"
         width="375" height="475">
    <param name="imagePath" value="http://judge/webcam/images">
    <param name="webCamImage" value="door.jpg">
    <param name="COMPort" value="COM2">
    <param name="frameRate" value="10"> <!-- could not exceed more than 10-->
    <param name="host" value="judge">
    </applet>
    The fist problem is that my class file does not get loaded from the jar file if i provide the "codebase" attribute as above. Instead the browser load every single class file from the webserver. This has some problem too. Coz the browser sometimes just thorough NullPointerException or ClassNotFoundException. After much of debugging I found out that the problem is the IE browser which seldom fails to load classes or image file from the server. If i referesh the browser the applet and all its classes loaded successfully and runs smoothly. This behaviour never occurs when running with "appletviewer".
    I wanted all my classes to be loaded from my jar file. After much of trial and error I found out that if i remove "codebase" attribute the browser loads the classes from my jar file and applet loads very fast. This is where the second problem comes in. The browser does not reload my webcam image file so that the webcam become alive with live images, like before.
    If I run on "appletviewer" everything works fine my web cam is displayed properly. But in IE browser the image does not get reloaded when I refresh my image to give live to my webcam display. The refresh method is given below.
    private void refresh(final URL url) {
    Image webCamImage =getImage(url);
    webCamImage.flush(); // flush out the previous image
    webCamImage = getImage(url); // get a new image
    webCamImageIcon.setImage(webCamImage); webCamImageIcon.paintIcon(webCamLabel, webCamLabel.getGraphics(), 15, 15);
    When I add the "codebase" attribute back, the image gets reloaded for every refresh() and everything works fine. But the classes are also loaded from the server. And occasionally also suffers Class loading and image loading problem. As I presented earlier, when I do refreshing in the browser everything gets loaded and the applet function correctly with web cam displaying very well.
    The problem is so strange that I could not find any way to solve it.
    It would be a great help to me if somebody provide me some work around to the problem.
    I tested on Windows 2000, Windows XP, IE 5.5, IE 6 with J2SDK 1.4.0.
    Thank you all very much in advance.
    best regards,
    Judge

    Thank you so much for the suggestions. I did tried the way u suggested. The problem still the same.
    I think its the problem between IE browser and Java Plug-in.
    I which SUN would find these incompatibilities and solve these problems.
    I even tried using java SDK and plug-in 1.4.1 it even worst. It can't even load an applet. And it does not show any loading messages nor any error messages. It just show a cross sign on the upper left coner.
    I would be so glad, if Sun would try to eliminate the inconsistancies such as caching, loading, initializing etc between browser and its Java plug-In. For example, applets behave well in appletviewer and behave unpredictably in browser environment.
    I have seen so many people in the forums with all sorts of problems because of this.
    Right now I m desperately looking for work around to my problem.
    If somebody would provide me with the solution to my problem it would be a great help to me.
    thank you all so much.
    best regards,
    Judge

  • SSRS indicator image display problem!!

    Hello ALL;
    I am having problem with displaying indicator image in DEV report manager. but same rdl works in QA environment. Both server has SP1 installed. Any Idea? Appreciate for your help. Thanks,

    Hi Techchi,
    Based on the limited information, I cannot figure it out for this issue. As per my understanding, I think this issue can be caused by the browser that run the report manager. If you use IE explorer to render the report, I suggest that you can try to run
    it in compatibility mode. If you are using another browser, I recommend that you should use IE explorer to render the report to check the issue again.
    If this issue still exists, in order to solve the problem more efficiently, I need to clarify some information.
    Are all reports with indicator image cannot render well in DEV report manager? Or just this one report?
    What is the phenomenon about the indicator image display problem? Could you please post a screenshot about this?
    It is benefit for us to do further analysis. Thank you for your understanding.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Having a image alignment problem using clearbox

    Hi,
    I'm having an image alignment problem. I cannot figure it out. I'm using the clearbox - lightbox dreamweaver widget. Using Dreamweaver CS6.
    Actual page located here. Any help would be appreciated.
    http://dirtysouthink.com/gallery/dustin2.html

    This has very little to do with Dreamweaver. DW is merely a tool to assist you in building a web site. It is purely a matter of styling (CSS).
    When I look at the structure, I see
    BODY-CONTENT (width: 490px)
         GALLERY (width: 452px)
              CONTAINER (width: 500px)
                   ITEM (width: 150px)
    From this I can deduce that:
    GALLERY will fit inside BODY-CONTENT
    CONTAINER will NOT fit inside GALLERY or BODY-CONTENT
    ITEM will fit three times into CONTAINER
    To start with, I would reduce the size of the CONTAINER so that it fits inside of its parent. Then I would adjust the width of the ITEM so that only two of them fit inside of the CONTAINER.

  • How to solve the image display problem in the iTunes Store

    Hi guys!
    I just want to give a work-around for all of you having the image display problem in the iTunes Store. In my case only the square images in the slider sections won't load:
    I had this in my last W7-installation and got it again in W8 after the first few weeks.
    There are a lot of reports about this problem out there and adhoc solutions like 'clear the cache' or 'reinstall and drink ice tea' that do not work. It is obviously a file request error. It is all about finding out which server addresses get blocked by your computer.
    Solution: Go to your firewall and your Anti-virus-program. There must be a whitelist option. In Kaspersky, check the web-options, the banner-options and the firewall-options, because the all have whitelists. The following addresses have to be whitelisted:
    *.apple
    *.mzstatic.apple.com.akadns.net
    *.mzstatic.com.edgesuite.net
    *.da1.akamai.net
    *.itunes.apple.com
    se.itunes.apple.com
    upp.itunes.apple.com
    ax.init.itunes.apple.com
    xp.apple.com
    *.mzstatic.com
    client-api.itunes.apple.com
    www.apple.com.edgekey.net
    www.isg-apple.com.akadns.net
    Press Ctrl + R in the iTunes Shop then and browse throught the music sections. All images should be displayed correctly now.
    If not, there might be more Apple servers involved in your case. You can find them by running a DNS sniffing tool like the DNS query sniffer by Nirsoft or Wireshark.

    Phone restarting randomly could be loose battery. Tighten by putting a small strip of electrical tape on the back edge.
    THE BITTERNESS OF POOR QUALITY, LINGERS LONG AFTER THE CHEAPNESS OF PRICE, IS SOON FORGOTTEN.

  • Image Placing Issue

    Hi everyone,
    I've got a weird image placing thing going on. These are jpegs that contain clipping paths created in Photoshop. When I place them with click and drag (to size them how I want), they appear much larger than expected and don't fit into their frame like so:
    (This is supposed to be an image of a hutch that fits into this frame)
    InDesign used to automatically scale the placed image to the frame when I placed it. Is there a setting I'm missing somewhere that will get me this function back?
    Thanks for any reply,
    Andy

    Ok! both issues resolved!
    - The first issue was indeed resolved by trashing the prefs. Now when I go File>Place, click and drag, the image fits the frame instead of bleeding way out of it.
    - The second issue was resolved by me finding the options box I was unaware of, which is found under Object>Fitting>Frame Fitting Options. My Content Fitting option was set to "Fit Content to Frame" which causes anything pasted into a frame to "squish" into that frame, thus distorting it, as see in my last screenshot above. Now with fitting set to "None", or "Fit Content Proportionally"  I can resize and scale in proportion as desired.
    Thanks again Petter!

  • Image reading problem in servlet

    Image reading problem in servlet
    I am reading an image in servlet and writing it to ServletOutputStream
    The following code works fine unless I change the size of the byte array (for increasing download speed) from 8 to something like 128 or any other higher value
    If I change the value of byte array size the image does not get downloaded properly, I mean the quality of the image changes, it does not looks like the original imageURL url = new URL("http://www.mysite.com/images/img1.jpg");
    URLConnection con = url.openConnection();
    con.setUseCaches(false);
    BufferedInputStream in = new BufferedInputStream(con.getInputStream());
    BufferedOutputStream out = new BufferedOutputStream(response.getOutputStream());
    byte b[] = new byte[8];
    while(in.read(b) != -1)
         out.write(b);
         out.flush();               
    out.close();
    in.close();what do I change
    byte array size
    or use the constructor of BufferedInputStream with 2 parameter
    or use the constructor of BufferedOutputStream with 2 parameter
    or use flush outside while loop or what else

    Change your while loop to:
    int count;
    while((count = in.read(b)) != -1)
         out.write(b, 0, count);
         out.flush();               
    }The penultimate time read is called, it may not fill the entire byte array. You only want to write out however much was read into the array.
    For better performance, you should move the flush() outside of the loop too. BufferedOutputStream will flush automatically when its internal buffer is full.

Maybe you are looking for