Fit Content Proportionally Broken in CS6?

I have been having a lot of issue with Fit Content Proportionally since upgrading to CS6.
In many of my documents (some new, some pulled in from earlier versions and saved over as CS6), I find that both via the menu and via the keyboard shortcut, the commonly-used and absolutely essential "Fit Content Proportionally" command just simply does not work.
I can create a bunch of square frames, and then fill them all with various-sized and shaped images, and then when I would usually Fit Content Proportionally to make them all scale down inside the boxes, what I get instead is no response at all. The only way to "fix" the problem is to go to the toolbar with the content selected and change either the vertical or horizontal percentage to any number at all. As long as the proportion lock is in place, then that changes both % numbers to the same number, and thus fixing the problem. This is what makes me think it is a bug.
Is there some new fitting setting in CS6 that I need to change?
I have tried saving as IDML and importing back into CS6, but the behavior persists. Interestingly, if I change the fitting via the toolbar % "fix" and then select Fit Content to Frame (not proportionally), then Fit Content Proportionally is broken again, and does nothing at all.
On most of my documents, Fit Content Proportionally works exactly as expected, and exactly as it always has. Of course my biggest "problem" documents contain large numbers of images.
High Res Image:
http://i.imgur.com/kl9jS.jpg

This is a bug or a big enough change in behavior that it should come with a warning alert the first time you use it. I've replicated it across different 8.0.1 installs and (Mac) OSs.
To replicate:
Place graphic. I haven't seen a difference among placed graphic types.
Resize the graphic frame non-proportionally.
Object=>Fitting=>Fit Content to Frame, so that the content is scaled non-proportionally. (Or select the content and scale it non-proportionally.)
Object=>Fitting=>Fit Content Proportionally. Nothing happens. (Or, if you scaled the content without fitting it in the previous step, the content may be centered, and it may be scaled, but the proportions won't be changed.)
I suppose you could make an argument that this is more correct than the old behavior—the command now means "Fit without changing the proportions"—but it's a big change, and I doubt anybody wants it to work this way.
Here's a short script that should more or less give the old behavior:
function fit(item) {
  var i, l, graphic;
  if (item instanceof Group) {
    for (i = 0, l = item.pageItems.length; i < l; i++) {
      fit(item.pageItems[i].getElements()[0]);
  else if (item.hasOwnProperty("imageTypeName")) {
    item.horizontalScale = item.horizontalScale < 0 ? -100 : 100;
    item.verticalScale = item.verticalScale < 0 ? -100 : 100;
    item.fit(FitOptions.PROPORTIONALLY);
  else if (item.hasOwnProperty("graphics")) {
    for (i = 0, l = item.graphics.length; i < l; i++) {
      graphic = item.graphics[i];
      graphic.horizontalScale = graphic.horizontalScale < 0 ? -100 : 100;
      graphic.verticalScale = graphic.verticalScale < 0 ? -100 : 100;
      graphic.fit(FitOptions.PROPORTIONALLY);
function main() {
  var i, l;
  if (!app.documents.length) {
    return;
  for (i = 0, l = app.selection.length; i < l; i++) {
    fit(app.selection[i]);
app.doScript(main, ScriptLanguage.JAVASCRIPT, undefined, UndoModes.ENTIRE_SCRIPT, "Really Fit Content Proportionally");
There are  certainly some corner cases I've left out. Let me know if you try to use it and it doesn't work right.
Jeff

Similar Messages

  • Change background colour of full screen slideshow when set to fit content proportionally

    I've signed up for a demo of Muse and must say I'm very impressed. Having used Dreamweaver in the past at Uni, often getting bogged down in code, Muse is a designers dream. I've even told some friends about it, describing it as "InDesign for web designers". The features, and tutorials on Adobes site, are fab however I'm now needing a bit of assistance.
    I'd like several images to fit the whole screen on a specific section of my Muse website, right under the navigation bar. I've noticed the easiest way to do this is create a full screen slideshow. With this option I can add one, or multiple, pictures to fade in and out - communicating various messages and selling points. By default the widget options are set to Fill Frame, which expands my graphic to completely fill the browser. Unfortunately with this selected the image loses some quality and seems to zoom in, getting cropped in the process. When changing the settings to Fit Content Proportionally everything looks great. The graphic is smack bang right under my navigation like I desire however there is also a ghastly grey box either side because the graphic is now it's original size. The grey on either side seems to be the slideshow background colour but I am unable to figure out a way to alter this - from grey to black. Please see the link for more info: https://dl.dropboxusercontent.com/u/50403221/Screen%20Shot%202014-08-14%20at%2018.00.34.pn g
    Would any fellow Musers know of a way to get round this? Or perhaps should this be an enhancement request?
    Thanks, Chris

    Hi Chris,
    Can you select the slideshow widget that you have added and check the fill color in control panel.
    Please refer to the following screenshot :
    Regards,
    Akshay

  • Resize artboard to content - works in Mac (CS6), not Win (CC)

    Hello!
    This code works perfectly in Illustrator CS6 for Mac:
    function resizeArtboard() {
                app.redraw();
                app.activeDocument.artboards[0].artboardRect = app.activeDocument.visibleBounds;
                app.redraw();
    It works like the menu option "Shrink artboard to fit content".
    However, running this script in Illustrator CC for Windows, the result is different: the content is enlarged to fit the artboard instead.
    How can I solve this?
    Thanks in advance!
    /Måns

    It turns out I was wrong: this function did work. However, when I then saved the file as an SVG, Illustrator ignored the document proportions. To correct this, I had to set the export option preserveEditability = true (of all things ...). Apparently it's a feature of Illustrator CC to not include the document proportions in SVG files by default.

  • Having my photoshop cs6 crash on me.Here is the error i get:Process: Adobe Photoshop CS6 [331] Path: /Applications/Adobe Photoshop CS6/Adobe Photoshop CS6.app/Contents/MacOS/Adobe Photoshop CS6 Identifier: com.adobe.Photoshop Version: 13.0.5 (13.0.5.44) C

    Process: Adobe Photoshop CS6 [331]
    Path: /Applications/Adobe Photoshop CS6/Adobe Photoshop CS6.app/Contents/MacOS/Adobe Photoshop CS6
    Identifier: com.adobe.Photoshop
    Version: 13.0.5 (13.0.5.44)
    Code Type: X86-64 (Native)
    Parent Process: launchd [134]
    User ID: 502
    Date/Time: 2013-09-12 07:54:38.278 +0200
    OS Version: Mac OS X 10.8.4 (12E55)
    Report Version: 10
    Interval Since Last Report: 2204068 sec
    Crashes Since Last Report: 73
    Per-App Interval Since Last Report: 560901 sec
    Per-App Crashes Since Last Report: 10
    Anonymous UUID: B545C2AE-F185-48E2-0D66-735AD86051CB
    Crashed Thread: 0 Dispatch queue: com.apple.main-thread
    Exception Type: EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000010
    VM Regions Near 0x10:
    -->

    salflyfish,
    Because Photoshop is an Adobe product you should be asking on an Adobe product forum or calling Adobe for assistance. Also your profile isn't complete but it does indicate you own a Mac Pro, this is an Intel based iMac forum. If you do have a Mac Pro please re-consider posting there. To complete your profile please click Profile Update, by doing so this helps the volunteers know basics about your system such as which version of OS X is installed, the exact model you own, the amount of installed RAM etc.... Without that information diagnosing an issue is much more difficult.

  • Multiple place and fit content

    I have several chapters of a book done in CS2. These were sent out and edited by a third-party in CS4 (communication issue there).
    So they were backsaved as an .INX file and now I'm using CS3.
    Problem is that the embedded images and links to 20 or so illustrations were not honoured and defaulted to "foo. jpeg" in the links pallette when I opened these in CS3.
    The embedded images (excel graphs) I'm not worried about, it's the linked images which I now have to go in and manually relink.
    The graphic frame and content boundary is intact so re-linking seems to work fine, but I'm wondering If i can select the art and multiple place each image within it's corresponding frame and have the attribute  "fit content proportionately" assigned at the same time.
    Do I use an object style?? I'm not too familiar with this, so if anyone can run me through the simple steps, it would be appreciated.
    Also, I noticed in CS3 that the number of icons for fitting content are reduced on the toolbar (see image circled) compared with CS2?
    Are the options to "fit content to frame, center content etc" only available from the drop-down menu or from the short-cuts?
    Thanks in advance,
    Julian

    Peter,
    Yip, those would be the icons I was looking for, but maybe they weren't visible depending on what i had selected, since I swear I looked for them..but there they are in my screenshot
    I was thinking a basic object style with just fram-fitting option selected to "fit content prop.", but I guess you are right in that the time saved would probably be negligible.
    Any idea as to why the links broke - just a consequence of back-saving??
    Julian

  • Fitting Content to Frame to a Path or Mask

    We have been asked by a customer to try and achieve the following:
    They have a number of eps's of a flat screen TV's. For each TV, there is a path around the outside. We will call this Path 1. There is a second path around the screen of the TV. We will call this Path 2.
    Is there a way of placing another image, and fitting content to frame (just like in Indesign), using Path 2 as the bounding box?
    We are using both CS3 and CS4.

    Mark, while Scripts may not be necessary they can add a level of convenience unattainable with Actions.
    As concerns the PAID HELP, the Photoshop Scripting Forum has a couple regulars who, while they may offer their services professionally, still give their advice freely; but in case Adam has no Scripting-experience his needs, should he choose to try a Scripting-solution, might exceed »advice«.
    Having only recently started to appreciate and utilize the capabilities of JavaScript for Photoshop myself I may appear overzealous in advocating it, but everybody will have to decide for themselves if they want to give it a try.
    With possibly hundreds of images I wouldnt want to rely on the screens (or their paths) to all have the same diameter and a Script can allow for that with transforming the placed image according to the height or width so as to always fill the area completely (thus clipping at the top/bottom or left/right depending on the relation).
    And (though too complicated for myself) it would be possible to let Photoshop work off folders and not get stuck by the occasional file that doesnt conform to the naming conventions or lacks a path by ignoring it and documenting unedited files at the end.
    Thats always assuming that the photographs of the tv-sets are fairly frontal, because if they are in perspective then the matter gets much more complicated, but what with the allusion to doing it in Indesign I concluded perspectival transformation isnt required anyway.

  • Fit content to a two columns frame

    Hi Experts,
    I need to fit content in to frame (it is a double column). But I can't see any feature in scripting. Manually also I can see fit option only for single column frame. Please advice me.
    thanks,
    Pasu

    Well, that's a bit clearer. How about this -- building on Kasyan's script. The debugging alerts at the start show what properties to check. It fails
    i spectacularly
    if you try this on non-standard frames, f.e., if you put a text wrapping image over part of the first column :-)
    myTextframe = app.selection[0];
    numlines = myTextframe.lines.count();
    alert ("Total: "+numlines);
    numlines_1 = myTextframe.textColumns[0].lines.count();
    alert ("1st column: "+numlines_1);
    if (myTextframe.textColumns[0].lines.count() < myTextframe.textColumns[1].lines.count())
    while (myTextframe.textColumns[0].lines.count() < myTextframe.textColumns[1].lines.count())
    var myBounds = myTextframe.geometricBounds;
    myBounds[2] += 1;
    myTextframe.geometricBounds = myBounds;
    } else
    while (myTextframe.textColumns[0].lines.count() > myTextframe.textColumns[1].lines.count())
    var myBounds = myTextframe.geometricBounds;
    myBounds[2] -= 1;
    myTextframe.geometricBounds = myBounds;
    if (myTextframe.overflows)
    myBounds[2] += 1;
    myTextframe.geometricBounds = myBounds;
    break;

  • Shouldn't object style with 'fit content to frame' work with updated images?

    I have a script that places pdf files from a list onto pages. The rectangles are built with an object style that fits content to frame.  This works,  but if the pdf file is then modified, InDesign does not fit the new content to the frame when the link is updated. Is there a reason why the object style does not honor its settings?
    Thanks.

    I have a script that places pdf files from a list onto pages. The rectangles are built with an object style that fits content to frame.  This works,  but if the pdf file is then modified, InDesign does not fit the new content to the frame when the link is updated. Is there a reason why the object style does not honor its settings?
    Thanks.

  • CS4 fit content to frame default

    Hi all,
    Just a quicky, we have just upgraded to CS4 at work (late adopters I know!) and we have an issue with how ID CS4 fits the frame to content by default.  The problem with this is it is changing templates of material built in earlier versions of ID, for instance changing ellipse frames to squares, resizing all the frames to fit the content, etc. Is it possible to change this default behavior? All help is appreciated.
    Thanks

    Hi Guys,
    Thanks for the responses and I apologise for the delay in replying, it has been flat out here... Anyway I just want to confirm that the problem still exists. I am unsure how to explain it further although I will try
    When the frame fitting option is set to 'fit content to frame' Indesign applies a 'fit frame to content' which the operator must then undo. This especially occurs when placing content into ellipse or polygon frames. Indesign always applies a "fit the frame to content" (which obviously blows away the shape), the operator must then undo the 'fit frame to content' that CS4 automatically applies (crtl+z).
    Not sure it is related but we also suffer from a one minute delay upon opening Indesign and Acrobat, the windows "csrss.exe" process goes nuts and sits on nearly 100% cpu usage for about a minute before the program becomes usable. It seems related to the number of fonts installed on the system (around 2000) because if I remove all the fonts, delete the adobefnt files and reinstall the fonts the machine runs fine for a week or so before it bogs down again. I know that this file is not a virus, as we run symantec on our machines, also there is only one copy of this process in taskmanager. Also this has happened across multiple machines with varying hardware. Is there a hard limit on fonts?
    Thanks again
    Regards Chris

  • Tables: Fit Content to Frame

    (InDesign CS2)
    Since "fit frame to content" is available when you select a frame that contains a table, but "fit content to frame" is not...I'm assuming it's not possible to do that.
    I understand that a table can lie well within or outside of its frame, and that can be a nice thing. However, what if I want to make sure the boundaries of the actual table, left to right, take up an EXACT width? Seems like making the frame the exact width I need and then having "fit content to frame" available is what I need.
    Am I missing something? Does anyone have a good workaround?

    Lisa,
    This script will do the job (although the interface is a bit primitive. Just type a number in the units you're using for the horizontal ruler. It displays the "before width" and you can then type the number you want instead. It distributes the extra or the deficit across the existing columns of the table.
    //DESCRIPTION: Set Width of Table
    // by Dave Saunders
    if ((app.documents.length == 0) || (app.selection.length == 0)) { beep() }
    aDoc = app.activeDocument;
    aSel = app.selection[0];
    aTable = findTable(aSel);
    tWidth = prompt("Table width", String(aTable.width));
    if ((tWidth == null) || (tWidth == "")) { exit() }
    n = aTable.columnCount;
    w = aTable.width;
    for (j = n-1; j >= 0; j--) {
      aTable.columns[j].width = aTable.columns[j].width * (tWidth)/w;
    function findTable(obj) {
      if (obj.constructor.name == "Table") { return obj }
      while (obj.constructor.name != "Table") {
        obj = obj.parent;
        if (obj.constructor.name == "Application") {
          errorExit("Can't locate table");
      return obj;
    function errorExit(message) {
      if (arguments.length > 0) {
        if (app.version != 3) { beep() } // CS2 includes beep() function.
        alert(message);
      exit(); // CS exits with a beep; CS2 exits silently.
    To use the script, copy and paste to ExtendScript Toolkit and save with an appropriate name in the form YourName.jsx in the Scripts folder of the Presets folder of your InDesign CS2 folder (you could put it in a subfolder if you wish). Then to run the script, set-up the appropriate initial conditions (click with the text tool in the table) and double-click the script's name in the Scripts palette.
    Dave

  • Adobe Content Viewer for Indesign CS6

    Adobe Content Viewer for Indesign CS6  has disappeared from my application folder, and after downloading AdobeDigitalPublishingCS6 and reinstalling the Content Viewer it still will not launch.
    I have the necessary files and the instller says it was installed successfully…
    Thanks,
    J

    Try following the steps at http://helpx.adobe.com/digital-publishing-suite/kb/manual-install-content-viewer.html.
    Neil

  • Suddenly cannot fit content to frame with cmd/shift/E in Mac

    I suddenly, when working on newspaper pages from a set of master templates, can no longer fit an image to a frame using the command/shift/E shortcut to fit content to frame. I can fit the image to frame using the pulldown menu, but not with the shortcut. All I get is an error tone. Also, when I click on the image window with the direct selection tool, instead of the image window being selected, you see this frame outside the image window, like the frame it's working with actually is larger or something (I hope I explained that right). Anybody know what's going on here, and how I might can fix it? I'm sure I accidentally changed some setting somewhere.

    It would help if you gave details about your version of ID and OS.
    The shorcut problem might be due to a switch to a new shorctut set. Any other shortcuts not working? Is the correct set selected when you go to Edit > Keyboard Shorctuts...? Anything else acting strangely? That could indicate a corrupt set of preferences.
    When you select an image with the direct select tool you should see the bounding box of the image which might be larger than the frame containing it (is the image cropped?) selecting a frame withthe direct select tool would reveal a text wrap path, if wrap is applied to the frame. Does either of those sound like what's happening?

  • Can't see the fit content to frame option....

    Hi All,
    I'm having some issues trying to click on:
    Object > Fitting > Fit Content to Frame
    This area is simply greyed out and I cant' select the option to do so.
    Does anyone have any ideas?
    Thanks
    Daniel

    I just wondered if you can please advise how I could click a button and have the text within the text box automatically resize to fit the frame?
    This is not a built-in capability of InDesign.  Macinbytes told you that this was the case, and John told you why.
    However, InDesign has a scripting interface, so plenty of people have written additional tools to make particular tasks easier. I think that one of these scripts from In-Tools will be exactly what you're looking for.

  • Blu ray,Fit contents to disc?

    I created a blu ray burn.Project was settings were h264 1920*1080i.Project length was 00;40;45;13.
    Everything went great and the disc looks like the original off of my Pany tm700 which I recorded at 1080/60p My question is when I check the "fit contents to available space",It shows "space required : 7.23gb(bitrate 24.00Mbps).When unchecked it shows 6.09gb(bitrate20.19Mbps) I know my project was short enough but why does it show more space required when checked than unchecked?

    Default bitrate is 20.19Mbps for 1920x1080 settings in this preset. It calculate the size based on 20.19 bitrate and the maximum bit rate setting is 24mbps bitrate for this preset. If we check the "Fit content" option then PRE sets the bitrate to maximum(24mbps). if we add the contents(more than 25 GB) in timeline and check the "Fit content" option then it will reduce the bit rate to fit the content in 25 GB Disc.
    Thanks,
    Pankaj Gauba

  • Blu-Ray Fit Contents to available space

    I made my first blu-ray disc in PreEl, and I tried to add as many raw video clips exported from my Canon Vixia HF200 as would fit on the disc.  On the Share->Blu-Ray settings, it said the space required was 22.89 GB, and I then checked the "Fit Contents to available space" box, which changed the Space Required to 23.30 GB.  The disc came out ok, but I discovered there was about 7GB left unused, and it is visually obvious the burner didn't use the last 1/2 inch or so of space on the bottom of the disc.
    Is there a better way to try to utilize all the available disc space?  In this case, my goal is to archive as many original video files as possible onto a disc.  However, I have tried to group them together and add menu markers to them, so I don't end up with 200+ chapters on the disc.
    I plan to actually edit and create videos more in the future, but for now I'm thinking in terms of getting many hours ofHD video off my hard drive and making multiple backup copies to blu-ray discs.

    Neale,
    Unless things have changed, and this could be by version, or a difference between BD and DVD-Video, PrE uses a 2-Pass VBR Transcoding scheme. What this means is that PrE measures what it thinks the size will be, then runs the first pass. This pass basically samples the motion in the Timeline, and stores data to be used in the next pass. Then, on the second pass, that info is used to assign a higher Bit-Rate to areas of high motion, and lower Bit-Rate to areas of less motion. It is not until PrE is completely done with the second pass, that it knows for sure, how large the file will be, as the Bit-Rates will be altered, as needed throughout the process.
    The multi-pass Transcoding is how Hollywood crams so much high-quality material onto a DVD, or BD. There Transcoding software will do maybe 9-Passes, or even more, and then the operator can tweak things as required. This results in a variable Bit-Rate that is the ultimate for every segment of the Timeline - not 1 MB/s more than is needed, and very high motion at the best possible Bit-Rate to keep that smooth. Never too much, and never too little. Sort of a Goldie Locks situation, and run by highly-trained professionals, who do nothing else all day long, using software that costs more than a Mercedes E-Class.
    As for the BD-Data, one is not Transcoding to produce that. If there is any Transcoding, it would first be done by the user, and then the resultant files would just be Copied over to the BD-Data disc. As you say, one would calculate the number of files, times their size, and subtract that from the capacity, adding more, or subtracting some, to fill the BD-Data.
    Hunt

Maybe you are looking for

  • Insertion of extra line item in delivery creation

    Hi, I have a requirement like after the creation of delivery from sale order, if we insert new line item in sale order , created delivery should be overwrite with newly added line item in sale order. Im using RV_DELIVERY_CREATE for creation of delive

  • JToolbar images not displaying

    I have JDK 1.3 /Windows 2000 Pro and My toolbar icons sometimes display and sometimes don't. I have about 12 tool icons, most of which show up, but usually a couple don't display. All icon images do display in the buttons at one time or another, so i

  • Oracle where do I put it?

    I will be creating some jsp, java, jdbc applications that I will use to connect to different oracle db's all over the state. I have the standard Oracle Db on my system, but I havent really put it anywhere. I did a cpio on it and it created and extrac

  • Can't open photo for editing in Photoshop Elements

    I am trying to edit a photo from my LR 5 Library in PE 11, but when I follow the normal process to do this, PE opens OK but my photo does not appear in PE at all. Is there some bug I don't know about? Or some other solution to fix this problem?

  • Burn DVD-9 on Macbook Pro?

    I have the last model of Macbook Pro (2.6 GHz Intel Core Duo) before the current unibody design, with the MATSHITA DVD-R UJ-875 drive. The DVDSP manual seems to say that I can burn DVD-9 discs with my system. Can anyone confirm this? And if yes, can