Once you’ve placed a photo image in Illustrator it would seem to make sense that you could just add a stroke around the outside in the same way you do in InDesign. After all, you’d imagine that the image is inside a rectangular frame, and it’s just a matter of choosing stroke color and width, right? Well, if you’re thinking this way … you’d be wrong.
Unlike InDesign, when a photographic image is placed in Illustrator, a frame is not automatically created to contain it – the image is just hanging there, kind of loose and uncontained. So, if you want to add a stroke to the image (or a colored tint for that matter), you’ll need to manually add the frame first.
You could just draw a rectangular frame around the image, and add the stroke to that, but this would create problems when you want to resize or reposition the image and you discover the frame doesn’t move along with the image.
The quickest solution is to select the image and click the Mask button in the Control panel. Then you can apply a stroke and adjust it just as you would in InDesign.
There’s also another way that uses Illustrator effects and it only takes a few extra clicks to get what you want. The added bonus of this method is that you can save the stroke as part of a graphic style and instantly apply it (and other effects) to as many images as you like.
First, try it the expected way and see what happens.
1. Select the placed image.
2. In the Appearance Panel, click the Add New Stroke button.
3. Even though a stroke is listed in the Appearance Panel, no matter what color or stroke width you apply, nothing will show around the image. The Appearance thumbnail looks like no attributes have been applied, even though the stroke is clearly listed below.
An effect that was used in the old days to make a dynamic rectangle around objects (mostly text) can be used to solve this problem. We now add the effect of a rectangle around the stroke we’ve just added. Here’s how to do it.
1. Make sure the placed image is still selected.
2. In the Appearance Panel, select the stroke that you added in step 2 (above).
3. Click the fx button and select Convert to Shape, then Rectangle …
4. The dialog will give you the option of applying the rectangle with some white space, but since we just want a stroke visible directly around our image, change the Extra Width and Extra Height measurements to 0. (If you’ve got the Preview checkbox ticked, you’ll see the changes applied to your image.
5. Click OK.
You can now make changes to the stroke’s color or weight in the Appearance Panel and the changes will be dynamic, just the same as you’d see in InDesign. Heck, you can even repeat the whole process and do multiple strokes if you like, just double-click the appropriate stroke effect to make changes to its offset from the image.
Adding a fill color to tint a placed image.
Here’s a bonus related tip: You can colorize the fill of a placed image by adding the same rectangle effect to the fill and blending with the image. A shortcut to repeat the most recent effect you added (complete with matching settings) is to press Cmd/Ctrl+Shift+E or choose Effect > Apply Rectangle.
1. Make sure the placed image is still selected.
2. In the Appearance Panel, select the fill.
3. Add a duplicate rectangle effect by pressing Cmd/Ctrl+Shift+E
4. If the message about another instance appears, click Apply New Effect, since we do actually want another rectangle to be produced.
5. Use the Appearance Panel to select a swatch or color (shift-click the down arrow) for the fill. (I’ve chosen C35, M35, Y0, K0 to give an antique look).
All you’ll see now is the new color fill that you’ve just added. You need to blend this with the image underneath to allow the image to show through.
6. Still in the Appearance Panel, directly under this new rectangle that you’ve just applied, click the Opacity link.
7. Change the blending mode from Normal to Color. Change the opacity to suit your desired look (I chose 75%).
Now this poster is complete, but I need to make a few more. How can I speed up the rest of my task of making more posters? …Graphic Styles is the answer.
Save/Reuse the same Appearance using Graphic Styles.
If you think you’ll need to reuse the stroke/tint combination that you’ve created in your Appearance Panel, save the combination as a Graphic Style. That way, you can apply the same Appearance to other objects to quickly achieve a consistent look across your layout in seconds.
1. Open the Graphic Styles panel.
2. Make sure your placed (and formatted) image is selected.
3. At the top left of the Appearance panel, there will be a small square swatch, representing the border/tint combination that you’ve applied. This is called the Appearance Thumbnail. Drag the Appearance thumbnail directly into the Graphic Styles panel to save it for use later on.
4. When you have another image (or frame) that needs to be formatted the same way, drag the new Graphic Style directly onto the image.
So there you have it. You can now continue to re-use this newly-created Graphic Style as many times as required – a speedy way to achieve consistency.Tags