I have some example post markup:

```
<article class="post">
    <p>Some text.</p>
    <p>
        <a href="#"><img src="#"></a>
        <a href="#"><img src="#"></a>
        <a href="#"><img src="#"></a> <!-- TARGET ME (LAST) -->
    </p>
    <p>Some text. Some more text <a href="#">with link</a></p>
    <p>
        <a href="#"><img src="#"></a> <!-- TARGET ME (LAST) -->
    </p>
    <p>Some text. Some more text <a href="#">with link</a></p>
</article>

```

Fiddle of the above can be seen here: <http://jsfiddle.net/alecrust/4TCyM/>

**Question:** How can I target the last image in each set (shown with HTML comments) without changing this markup?

I assume JavaScript will be required, since I can't think of any CSS solution. I can't use `img:last-child` since this targets every image in the above markup. I can't use `a:last-child img` since this wouldn't target anything in the above markup.