We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 694dd13 commit e0685a6Copy full SHA for e0685a6
readme.md
@@ -19,7 +19,7 @@ This plugin tells WordPress to create three additional sizes for images you uplo
19
<!--[if IE 9]><video style="display: none;"><![endif]-->
20
<?php echo tevkori_get_picture_srcs($imageid, $mappings) ?>
21
<!--[if IE 9]></video><![endif]-->
22
- <img srcset="<?php echo wp_get_attachment_image_src( $imageid, $type ) ?>" alt="<?php echo tevkori_get_img_alt( $imageid ) ?>">
+ <img srcset="<?php wp_get_attachment_image_src( $imageid )[0] ?>" alt="<?php tevkori_get_img_alt( $imageid ) ?>">
23
<noscript> <?php echo wp_get_attachment_image( $imageid, $mappings[0] ) ?> </noscript>
24
</picture>
25
0 commit comments