In the user guide, Zenphoto plugin <http://www.zenphoto.org/2009/12/zenphoto-as-a-plug-in-using-zenphoto-functions-from-outside-zenphoto/>, this line:
`
echo "
<img src='". $randomImage->getSizedImage(getOption('image_size')) . "'
alt=\"random image\"\n" . $randomImage->getTitle() . '" />';
`
is incorrect isn't it? Shouldn't the last line $randomImage->getTitle() be part of the text of the `<a></a>` tag? Plus there is an extra ", which appears just before the close of the `<a> </a>`tag, and I'm not sure why the \n just after the alt attribute.
IOW, it should be
`alt=\"random image\"/>" . $randomImage->getTitle() . '';`
which puts the image title as a clickable link, and removes the \n and the surplus ".
Perhaps it was written specifically for Wordpress, but for anything else, as I've written.
Can some one confirm this?
Thanks.