| @@ -86,8 +86,9 @@ | ||
| 86 | 86 | $info = wp_get_attachment_image_src( $id, $image_size ); |
| 87 | 87 | $imgSrc = '<img src="' . $info[0] . '" class="' . |
| 88 | 88 | ( $this->layout === 'carousel' ? 'skip-lazy' : ( 'wp-image-' . $id ) ) . '" />'; |
| 89 | 89 | } |
| 90 | + | |
| 90 | 91 | $attributes = $this->build_inline_attributes( $id, $data ); |
| 91 | 92 | if ( !empty( $attributes ) ) { |
| 92 | 93 | $attributes = ' ' . $attributes; |
| 93 | 94 | } |