Use alt and title tags on frame images
parent
06cad49b80
commit
db58e9f7ef
|
@ -221,21 +221,21 @@ if ( $Event->Id() and !file_exists($Event->Path()) )
|
||||||
if (file_exists($Event->Path().'/alarm.jpg')) {
|
if (file_exists($Event->Path().'/alarm.jpg')) {
|
||||||
echo '
|
echo '
|
||||||
<a href="?view=image&eid='. $Event->Id().'&fid=alarm">
|
<a href="?view=image&eid='. $Event->Id().'&fid=alarm">
|
||||||
<img src="?view=image&eid='. $Event->Id().'&fid=alarm&width='.ZM_WEB_LIST_THUMB_WIDTH.'" width="'.ZM_WEB_LIST_THUMB_WIDTH.'" alt="First alarmed frame"/>
|
<img src="?view=image&eid='. $Event->Id().'&fid=alarm&width='.ZM_WEB_LIST_THUMB_WIDTH.'" width="'.ZM_WEB_LIST_THUMB_WIDTH.'" alt="First alarmed frame" title="First alarmed frame"/>
|
||||||
</a>
|
</a>
|
||||||
';
|
';
|
||||||
}
|
}
|
||||||
if (file_exists($Event->Path().'/snapshot.jpg')) {
|
if (file_exists($Event->Path().'/snapshot.jpg')) {
|
||||||
echo '
|
echo '
|
||||||
<a href="?view=image&eid='. $Event->Id().'&fid=snapshot">
|
<a href="?view=image&eid='. $Event->Id().'&fid=snapshot">
|
||||||
<img src="?view=image&eid='. $Event->Id().'&fid=snapshot&width='.ZM_WEB_LIST_THUMB_WIDTH.'" width="'.ZM_WEB_LIST_THUMB_WIDTH.'" title="Frame with the most motion"/>
|
<img src="?view=image&eid='. $Event->Id().'&fid=snapshot&width='.ZM_WEB_LIST_THUMB_WIDTH.'" width="'.ZM_WEB_LIST_THUMB_WIDTH.'" alt="Frame with the most motion" title="Frame with the most motion"/>
|
||||||
</a>
|
</a>
|
||||||
';
|
';
|
||||||
}
|
}
|
||||||
if (file_exists($Event->Path().'/objdetect.jpg')) {
|
if (file_exists($Event->Path().'/objdetect.jpg')) {
|
||||||
echo '
|
echo '
|
||||||
<a href="?view=image&eid='. $Event->Id().'&fid=objdetect">
|
<a href="?view=image&eid='. $Event->Id().'&fid=objdetect">
|
||||||
<img src="?view=image&eid='. $Event->Id().'&fid=objdetect" width="'.ZM_WEB_LIST_THUMB_WIDTH.'" alt="Detected Objects"/>
|
<img src="?view=image&eid='. $Event->Id().'&fid=objdetect" width="'.ZM_WEB_LIST_THUMB_WIDTH.'" alt="Detected Objects" title="Detected Objects"/>
|
||||||
</a>
|
</a>
|
||||||
';
|
';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue