Skip to content

Commit

Permalink
Export image filenames as thumbnail "titles" to HTML
Browse files Browse the repository at this point in the history
  • Loading branch information
disq committed Mar 10, 2015
1 parent 8870e2a commit 9859478
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ffexp2html.php
Expand Up @@ -111,7 +111,7 @@
} else {
$href = $thumbnail->link;
}
$thumbnails[] = html('a', html('img', null, array('src' => $src, 'class' => 'e_tn')), array('href' => $href));
$thumbnails[] = html('a', html('img', null, array('src' => $src, 'class' => 'e_tn', 'title' => isset($thumbnail->filename) ? $thumbnail->filename : false)), array('href' => $href));
}
if (count($thumbnails) > 1) {
$thumbnails[] = html('span', null, array('class' => 'e_more'));
Expand Down

0 comments on commit 9859478

Please sign in to comment.