Ask Your Question
1

Can I create image placeholders with fixed size? [closed]

asked 2013-07-07 20:31:57 +0100

Anjar gravatar image

updated 2014-06-20 22:27:34 +0100

bencomp gravatar image

I want to make a template with placeholders for some text and pictures, but I want all the pictures to be the same size. Is there any way to make a placeholder with a locked size, so when I use it to insert a picture, it'll have that size (width or height)? Could I use frames in any way?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2016-02-25 22:04:39.541364

2 Answers

Sort by » oldest newest most voted
0

answered 2014-06-21 00:01:21 +0100

Regina gravatar image

You can use an "Image Control". That will automatically generate a form, but don't worry, you do not need to use a data base. A form has a "Design mode" where you can edit its controls. Use the icon "Design Mode On/Off" to toggle the state.

View > Toolbars > Form Controls, and there the icon "More Controls". toolbar Form Controls.

While in "Design mode" click on icon "Image Control" and drag create it same as it would a rectangle. toolbar More Controls

Such control has an edit mode with green handles, where you can set position and size. If you need further settings like border style and color or help texts, open the item "Control" from the context menu. In that dialog you can set the scaling properties in tab "General", item "Scale". You can chose between "none" (original picture size), "keep ratio" (picture is scaled to control size while keeping its ratio), and "Fit to Size" (picture is stretched to the control size). Default is "keep ratio", which meets your purpose.

When you have saved the file and reopen it or when you generate a document based on the template, then the form is no longer in Design mode. If you now right click the Image Control, you get the option "Insert Graphics from..." to fill the control. As usual, you can chose between embedding or linking the picture. The attached file is an example of such template.Example Image Control.ott

edit flag offensive delete link more
0

answered 2013-07-08 14:38:27 +0100

ROSt52 gravatar image

I made a quick test with frames and it works. In a frame you can add

  • only a picture
  • only a text
  • a picture and text

and you also can add a caption to picture inside the frame.

edit flag offensive delete link more

Comments

note: you can set each frame at a different size should you want to do so.

ROSt52 gravatar imageROSt52 ( 2013-07-08 14:43:38 +0100 )edit

Thanks. Could it be combined with placeholders? When I tried, the images didn't fit in the frame. Could the frame size be locked so all images automatically is resized so they fits (either height or width so it keep propotions)?

Anjar gravatar imageAnjar ( 2013-07-09 11:24:32 +0100 )edit

Question Tools

Stats

Asked: 2013-07-07 20:31:57 +0100

Seen: 4,349 times

Last updated: Jun 21 '14