![]() ![]() This still relies on the data merge placeholders being inline graphics placed next to each other, but doesn't require a blank.pdf. The alternate way that will work if left aligning only: The advantage is that this will work whether the graphics need to be aligned to the left, right, or center. In the database, and making sure any missing image data is replaced with the blank.pdf link. Lastly, the Fit Frames To Images setting in the content placement options needs to be selected. This will mean that any PDFs linked via the data merge will also use this option, so the incoming graphics must be the correct size prior to the merge. When the options appear, select Art from the dropdown menu. This is done by creating "blank.pdf" in Illustrator – a blank page with only one object in it measuring 0.001mm square with no fill or stroke.īefore beginning the merge, place the blank.pdf into InDesign making sure the show import options checkbox is checked. The way to solve this is to make the image frames shrink to an almost unnoticeable size. I've used this technique in real-world examples as well. I've written more about this in a piece I wrote for InDesign Magazine issue 52. Other workflows are also possible where the containers are filled with images after the merge that always show the whole image regardless of the size of the template frames before the merge.I would use a solution quite similar to the method outlined by DBLjan, relying on empty results being assigned an image that is really tiny and called something like blank.pdf, data merge's frame fitting options are set to fit frames to images, and the images being placed as inline graphics next to each other. If the anchored image goes in overset because the text frame cannot hold it you have no access anymore to properties like position, width and height and therefore you have problems to scale it.Ī script could circumvent this issue by first placing the image not in a text frame, then do the scaling action and afterwards will anchor the container frame at the right position. If the frames that are prepared for the merge are anchored this would also require a text frame big enough to hold any placed image from the start. An image that is placed that the container fits the image.Ģ. It would require at least a two-step process:ġ. I gave Andy's problem some thoughts yesterday and also tested a bit with the data.Īs far as I can see there is no solution without using to script the placed image containers in the merged document. I have uploaded a link here with test data: ![]() I have been trying for a few hours now with various content fitting options etc to no avail. So when I ask it to fit frame to content it brings the image in at 100% (way too big) and if I fit images proportionally then they come in at 19.7% but the frame is whatever it is set in the orginal indesign file. ![]() It is worth mentioning that all of the images are the same height but their widths are different (Eg some square and some rectangular) (not creating loads of different sized icons for use with different templates). Now heres the issue im having, I need the images to come in a specific percentage (19.7%) to be precise, as I have used the icons on another template and need to be able to reuse these in multiple varying sized templates. I have created a text box that contains image boxes so I can make the images align to the right, and as the icons come in, the frame fits to them and they can all sit nicely next to each other (clever ay?) Im hoping you can help me with a data merge image issue?īasically, I want to import icons into a file and then the frame to fit the image so they all but up nicely together. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |