Andy Lester wrote:
But why would $image->url come back as undef? That should be the real thing to check.Quite simple really. There are images which are not containd in an <a>...</a> block. Again from news.google.com, here are two examples:
<img width=1 height=1 alt=""> <img src=/images/cleardot.gif width=1 height=2>I like the first example because it is a pure placeholder. No real image at all :-)
Cheers, Peter