mirror of
https://github.com/php/web-php.git
synced 2026-03-23 23:02:13 +01:00
Add alt text to Elephants images (#1292)
This commit is contained in:
@@ -426,6 +426,7 @@ $(document).ready(function () {
|
||||
link.attr('href', photo.url);
|
||||
link.attr('title', photo.title);
|
||||
image = $('<img>');
|
||||
image.attr('alt', '');
|
||||
image.attr('src', 'data:image/jpeg;base64,' + photo.data);
|
||||
$(node).append(link.append(image));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user