admin管理员组文章数量:1435090
I added Smush - what a mistake. Somewhere, it is changing which image is being loaded in the featured image spot, not by image compression but by loading the appending 1024x768.jpg string to the image url. I can't find where to undo this. My mistake was that I also deleted the smush plugin and redownloaded it in attempts to use a setting to adjust this.
src=.jpg
Previous to installation of the plugin, the size was not being appended to my featured images. Previous articles weren't affected. I changed settings to 2000x2000 from 1024x1024 in the WordPress dashboard.
Markup before:
<img width="1024" height="768" src="hackoutdoors/wp-content/uploads/2018/10/…" data-lazy-type="image" data-src="hackoutdoors/wp-content/uploads/2018/10/…" class="attachment-magazine-7-featured size-magazine-7-featured wp-post-image lazy-loaded" ...
Markup after:
<img width="1024" height="576" src="hackoutdoors/wp-content/uploads/2019/03/…" data-lazy-type="image" data-src="hackoutdoors/wp-content/uploads/2019/03/…" class="attachment-magazine-7-featured size-magazine-7-featured wp-post-image lazy-loaded" srcset="hackoutdoors/wp-content/uploads/2019/03/… 1024w, hackoutdoors/wp-content/uploads/2019/03/… 300w, ..
本文标签: post thumbnailsSmush Featured image constraining in image file that is being loaded on page
版权声明:本文标题:post thumbnails - Smush Featured image constraining in image file that is being loaded on page 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745648881a2668303.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论