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')) {
|
||||
echo '
|
||||
<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>
|
||||
';
|
||||
}
|
||||
if (file_exists($Event->Path().'/snapshot.jpg')) {
|
||||
echo '
|
||||
<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>
|
||||
';
|
||||
}
|
||||
if (file_exists($Event->Path().'/objdetect.jpg')) {
|
||||
echo '
|
||||
<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>
|
||||
';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue