admin管理员组文章数量:1335176
I have a very strange problem
There are images with the correct size on the host and image sizes are properly recorded in WordPress
But I get the following html code output
<img width="300" height="200" src="/wp-content/uploads/2020/04/Imagename.jpg" data-lazy-type="image" data-src="/wp-content/uploads/2020/04/Imagename.jpg" class="attachment-us_300_200 size-us_300_200 wp-post-image lazy-loaded" alt="IMAGETITLE" srcset="" data-srcset="/wp-content/uploads/2020/04/Imagename.jpg 400w, /wp-content/uploads/2020/04/Imagename.jpg 600w, /wp-content/uploads/2020/04/Imagename.jpg 300w, /wp-content/uploads/2020/04/Imagename.jpg 900w" sizes="(max-width: 300px) 100vw, 300px" title="IMAGETITLE">
The size I requested was 300x200 pixels but, the image is displayed in full size and the loading speed of the site is greatly reduced.
This problem occurred a week ago after a few plugin and theme updates
- Disabled all plugins and theme > noting changed
- Manual replacement wordpress files > noting changed
- Change the PHP version > noting changed
Sorry for the bad English Can anyone help me?
本文标签: post thumbnailsWordpress Responsive Image ( srcset ) not work properly
版权声明:本文标题:post thumbnails - Wordpress Responsive Image ( srcset ) not work properly 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742381376a2464161.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论