You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The images on my AMP-homepage are not visible. Due to the fact that the *.jpg and alt are merged and the image description is being handled as, i don’t know. The image description is in this case is 3 separate words replaced with ‘part_img_desc’
As you can see the code generates(attributes) =”” after each word and places alt straight behind *.jpg without closing the image.jpg with a ”
The images on my AMP-homepage are not visible. Due to the fact that the *.jpg and alt are merged and the image description is being handled as, i don’t know. The image description is in this case is 3 separate words replaced with ‘part_img_desc’
As you can see the code generates(attributes) =”” after each word and places alt straight behind *.jpg without closing the image.jpg with a ”
amp-img src=”https://www.website.com/wp-content/uploads/image.jpgalt” ==””
“part_img_desc=”” part_img_desc=”” part_img_desc”=”” width=”100″ height=”75″ class=”i-amphtml-element i-amphtml-layout-fixed i-amphtml-layout-size-defined i-amphtml-layout amp-notsupported” style=”width: 100px; height: 75px;”>
Is there a way to fix this within the code?
Resolved the attributes by disabling another plugin. But it didn’t resolve the issue from merging the jpgalt
I’ve edited the “features.php”at line 3361
from:
echo ‘alt = “‘. esc_attr($thumb_alt). ‘”‘;
into:
echo ‘ alt=”‘. esc_attr($thumb_alt). ‘”‘;
Could you please confirm that this is an little bug your side, else I have to dig deeper
REF: https://wordpress.org/support/topic/amp-img/
The text was updated successfully, but these errors were encountered: