You could catch it in a jar or baggie, then chill it in the freezer for a few moments until it stills. Then, while it is chilled, take your photos. If you do not over-do the freezing, the ant will warm up and walk off in a few minutes.
You could catch it in a jar or baggie, then chill it in the freezer for a few moments until it stills. Then, while it is chilled, take your photos. If you do not over-do the freezing, the ant will warm up and walk off in a few minutes.