6

In ArcView, can I add an image to a label?

Assume I have the photograph path as an attribute.

  • Can use EMF (Enhanced Metafile Format) format to scale up labels without pixelation. But refer to Brads method below. – Mapperz Jun 25 '11 at 18:05
9

in the label symbol dialog you can set the text background to a symbol marker
symbol marker select properties

then marker text background

marker text bkgr
select symbol.
Properties.
pic marker symbol Then you have the option to select several types. One is picture marker symbol.
Which allow emf and bmp. (sorry no svg).

Another way is to use the ballon callout
ballon callout
Select symbol
there you get some choices again for the fill of the callout box.
select picture fill symbol
symbol fill picture
Again you get emf and bmp format choices.

Another choice would be to use a point feature class and put the layer in the mxd twice. Once for the symbol, and a second for the label. Use a picture marker symbol
Point marker

as the symbol and use offset xy to move it away from the original point marker.
Like this
Screenshot

  • Very follow-able, THANKS! Do you know how to place the image INSIDE the callout box, as apposed to replacing the callout box. – jrhicks Jun 25 '11 at 17:41
  • 1
    There are some options to use html in the text formatting which I think is what gets that result. However I think that is what Jakub is referring to having problems with. – Brad Nesom Jun 26 '11 at 0:12
5

You can use a bitmap image inside the label symbol itself but i've had nothing but trouble with this approach when it come to exporting the map to a file or outputting it to plotter/printer. The "image labels" do not render well. Some do not appear at all some do others come out rendered only partially. There is no out-of-the-box solution I know of that will allow you to dynamically display images inside of a label symbol using a path stored in the attribute.

  • Thanks, Is this the same method as detailed in Brad Nesom's Answer? – jrhicks Jun 25 '11 at 17:44
  • very similar except that I use Picture Marker symbol. – Jakub Sisak GeoGraphics Jun 26 '11 at 0:23
1

In ArcGIS Pro, I would recommend creating your own style file and then add a marker symbol for a simple point and a picture symbol so that you can use these in a Callout text label.

For example,

ArcGIS Pro Styles Area in the Catalog Window

Point and Picture Symbols in a Custom Style File

To create a picture point symbol, you can right-click to select "New" and then fill out the "Description" tab to give the new symbol a unique name for future reference.

Add New Point Symbol to a Style File

Next, you will select the Properties tab at the bottom of the Symbol pane. Properties tab in the Symbol pane

Click the "Layers" button. Symbol Layers button in Symbol Properties Tab

Change the drop-down from a "Shape marker" to a "Picture marker" and then you can click the "File" button to navigate to your PNG/BMP/JPG image file.

Select a Picture marker type for a point symbol

Completed Picture Point Marker

To use the logo marker as a callout label, you need to turn on labels for your point layer, set the label field, use "No color" for the label text and create a Callout label. You do this in the Labeling ribbon and by using "Text Symbols" option.

Text Symbols Option

You set the text color in the "Appearance" area:

No Color Text

You set the logo image as a point symbol in the "Callout" area:

Set Callout type to Point Symbol

You can also specify a leader line to be drawn from your point to your logo label:

Use Picture Marker Point Symbol and Leader Lines

You can also control the position and offset of the label:

Control Label Position

I've found that it is best to keep the Appearance size small (e.g. 4 or 6 pts), but set the point symbol used for the logo to a large size (e.g. 18 - 24 pts), and then set the preferred offset to about 10 pts.

This is roughly what you get on your map:

Result Map

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.