Hello,
I have a site which has a gallery of photos.
Under each photo my name is shown just telling you i took the photo,i dont need to see this on every photo listed.
Please can somebody give advice to a newbie so this script does not show my name under the photos.
if ($item->owner) {
$results .= "<li>";
if ($item->owner->url) {
$results .= t("By: <a href=\"%owner_url\">%owner_name</a>",
array("owner_name" => $item->owner->display_name(),
"owner_url" => $item->owner->url));
} else {
$results .= t("By: %owner_name", array("owner_name" => $item->owner->display_name()));
}
$results .= "</li>";
}
Thanks