Results 1 to 9 of 9
  1. #1
    Plutonium Lounger Leif's Avatar
    Join Date
    Dec 2000
    Location
    U.K.
    Posts
    14,010
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Control inserted picture size (2002)

    I am looking for a foolproof way of allow someone to insert a .jpg into a document that will not exceed a given size - auto-fit as it were.
    I came across Post 37398 where it is suggested:
    <hr>You can use a table with various sized columns & rows to lay out your document. If you make your table columns a fixed size, the picture will fit within a cell if inserted inline.<hr>
    which sounds exactly what I want to do.

    The requirement is to be able to insert three photographs into a three cell table formation as the attachment below. I've had some success limiting the size going into A (in that a too big a picture doesn't distort the table but can spread beyond the limit) but too big a picture into B or C causes all sorts of mayhem. I can see I can set an exact cell height but only a preferred width.

    (Too small a pic is not a problem - the user will have the sense to grab a corner and stretch it. It is where the inserted pic is too big and they can't see where the picture ends off-screen that is the problem.)

    Is a table the way to go as suggested by Phil?
    Attached Images Attached Images
    • File Type: gif x.gif (584 Bytes, 0 views)

  2. #2
    Plutonium Lounger
    Join Date
    Nov 2001
    Posts
    10,550
    Thanks
    0
    Thanked 7 Times in 7 Posts

    Re: Control inserted picture size (2002)

    I did something very similar with a Macro once, I don't have a copy anymore but the idea was to check the cell width and height before and after the paste and to adjust as necessary...

    StuartR

  3. #3
    Lounger
    Join Date
    Dec 2001
    Posts
    44
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Control inserted picture size (2002)

    Go to Tools, Customize, Commands, All Commands, and choose TableFormatCell -- this is the cell height and width menu where you can set exact width & height .

    Nancy Potter

  4. #4
    Super Moderator
    Join Date
    Jan 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    3,852
    Thanks
    4
    Thanked 259 Times in 239 Posts

    Re: Control inserted picture size (2002)

    In Word 2002 there is another setting on the table that you will need to constrain so that the preferred width of a column sticks.

    It is in the Table Properties (Table Tab) Options Button - Automatically resize to fit contents. If you turn this off you might have more luck getting the columns to stick.

    Perhaps that setting is somewhere in Word 2002 as well.
    Andrew Lockton, Chrysalis Design, Melbourne Australia

  5. #5
    Plutonium Lounger Leif's Avatar
    Join Date
    Dec 2000
    Location
    U.K.
    Posts
    14,010
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Control inserted picture size (2002)

    No joy with that, but...

    I realised that if you inserted a picture into a blank new document, it never exceeded the margins. So, a little experimentation shows that if I divide the two areas vertically using columns - bingo! Left column has a single cell table, right hand column has a 3 x 1 row table, the centre one very slim and simply to guarantee space between cells B & C as above.
    Cells A, B & C are aligned centred vertically and horizontally (right_click Cell Alignment ...)
    Finally, Tools > Options > Edit, Insert/paste pictures as: field select In line with text.

    Now, inserted pictures do not exceed the cell width unless manually enlarged, and when they are, they do not distort the rest of the page.

  6. #6
    4 Star Lounger
    Join Date
    May 2002
    Location
    Australia
    Posts
    549
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Control inserted picture size (2002)

    <img src=/S/hello.gif border=0 alt=hello width=25 height=29> Hi Leif, man that sounds like such a lot of trouble to resize in a fashion that suits. When using tables and inserting pictures (or whatever), to make everything fit easily and quickly I just drag the table lines to where I want them. The other alternative is to format the pictures instead of using tables, I often position pictures in a particular place and lock them there by using the "Wrapping>Tight" option. Right Click on picture>format picture>Wrapping>Tight. <img src=/S/smile.gif border=0 alt=smile width=15 height=15>

  7. #7
    Plutonium Lounger
    Join Date
    Nov 2001
    Posts
    10,550
    Thanks
    0
    Thanked 7 Times in 7 Posts

    Re: Control inserted picture size (2002)

    Leif,

    Just for completeness.

    If you want to resize a picture then you get much greater efficiency by using a graphics program to set the height, width and pixels per inch before you import it into word. Using word to shrink a picture can result in very big word documents.

    StuartR

  8. #8
    Plutonium Lounger Leif's Avatar
    Join Date
    Dec 2000
    Location
    U.K.
    Posts
    14,010
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Control inserted picture size (2002)

    Cyberdance and Stuart,
    Yes, the way I have done it does sound like a lot of work, but when I said originally:
    <hr>I am looking for a foolproof way to allow someone to insert a .jpg into a document that will not exceed a given size<hr>
    what I meant was, someone else (i.e. NOT me!), someone who doesn't even know they are using Word, let alone know what columns, tables, cells, properties, etc. are!

    It started with a long phonecall where the user couldn't insert a picture into a 'template', but 1/3 of the picture was missing and it couldn't be shown no matter what. It turned out that the space they were inserting the pictures into was a text box.....

    Believe me, formatting the way I have and sending them a read-only copy seems by far the simplest way <img src=/S/laugh.gif border=0 alt=laugh width=15 height=15>

    Final note Stuart, they do NOT save the document - it is a "one-off insert some pics and a few words and click print" job.

    Thanks to one and all for your input.

  9. #9
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Control inserted picture size (2002)

    Hi Leif:
    Sorry I've been away from the Lounge, but pasting into a table should work. If you set the height & width in a table, it should work. Go to the cell tab, not the table tab. Although it says "preferred", you should be able to set an exact height & width. And, as Andrew pointed out, you must uncheck "Automatically resize to fit contents", the default in Word 2000 (Table/Properties/Table tab/options/uncheck automatically resize.to fit contents). Also, "fit text" should be unchecked under Properties/Cell tab/options.

    Actually, the best way is to use the previous (Word 97) commands, "Cell Height & Width" because you can specify the exact height & width (no preferred nonsense).

    1. Select Tools-Customize
    2. Make sure the last item in the toolbar tab shortcut menu, is selected
    3. You'll now see an extra toolbar with labels like Text,Table, Draw
    4. Select the table dropdown menu
    5. Select the item tabletext (you'll now see the shortcut menu that shows when rightclicking inside your tablecell)
    6. Select the second tab in the customize dialog, commands and choose All commands
    7. Select the TableCellFormat (this is a translation, should be similar)
    8. Drag the item to the tabletext toolbar
    9. Click close

    Hope this helps. I owe you for many many tips. <img src=/S/grin.gif border=0 alt=grin width=15 height=15>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •