The best way I can describe what I am trying to achieve is to show you a picture.
So essentially, I'm looking to create a grey box, containing some text with an image floating to the right hand side. I want about 2mm space (padding) inside the grey box so no content goes right to the edge and I want the text to wrap around the image. The bit I'm finding tricky is when I go to use the 'Fit frame to content' option. I'm trying to remove the space indicated by the red arrows but if I anchor the image inside the text frame, the grey box shrinks to the height of the text and the image overflows.
This would be incredibly simple to achieve on the web, am I doing something wrong?
Any help/direction would be greatly appreciated.
Well, the issue is, I won't know either the height of the image, or the length of description text. These are both dynamically loaded from a data source. Am I right in thinking I can't create a container which contains a text frame and an image frame?
Sorry, been out for an hour.
I understood that you want to have some variable height text frame (the gray box), and that this box should reduce in height to fit the text contained therein, but not less than necessary for the bottom to be 2mm below the bottom edge of the variable height image (which I'm presuming is anchored to the first line of text in the frame) in a case where there is not sufficient text for fit frame to content to avoide making the frame shorter than the bottom of the image.
I believe this could be scripted, but that will still require you to run the script. You should ask over in InDesign Scripting
As far as a container that holds both text and image frames, yes, but only if you "paste into" a new frame after creating the two separately and grouping, which probably is not what you have in mind.
Tough one... sounds like a job for a dedicated VDP plugin/standalone program which will let you set rules on all the content. You will also need a rule to push the lower text down as the image grows.
Maybe one of these will do it?
Easy to do with Pageflex Persona, but this is a horrible design program (a la Quark 3) with poor support, so probably not recommended!
Europe, Middle East and Africa