Skip to content

Commit b3deb31

Browse files
committed
forgot about the IE9 fix, added to readme
1 parent 988c616 commit b3deb31

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

readme.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,11 @@ This plugin tells WordPress to create three additional sizes for images you uplo
1616
);
1717
?>
1818
<picture>
19+
<!--[if IE 9]><video style="display: none;"><![endif]-->
1920
<?php echo tevkori_get_picture_srcs($imageid, $mappings) ?>
20-
<noscript> <?php echo wp_get_attachment_image( $imageid, $mappings[0] ) ?> </noscript>
21+
<!--[if IE 9]></video><![endif]-->
2122
<img srcset="<?php echo wp_get_attachment_image_src( $imageid, $type ) ?>" alt="<?php echo tevkori_get_img_alt( $imageid ) ?>">
23+
<noscript> <?php echo wp_get_attachment_image( $imageid, $mappings[0] ) ?> </noscript>
2224
</picture>
2325

2426
### Tutorial

0 commit comments

Comments
 (0)