[英]An image is getting cropped to 5px tall in Windows. Inspect element is showing an 'intrinsic size'
I have never heard of an intrinsic image size until today, but I have some hero images that are around 1200 x 500 pixels in size after being cropped within CraftCMS. 直到今天我还没有听说过内在的图像大小,但是在CraftCMS中裁剪后,我有一些英雄图像,大小约为1200 x 500像素。 However, when viewed on my Project Manager's Windows machine, it is showing a super super super blurry image. 但是,在我的项目管理器的Windows机器上查看时,它显示出超级超级超级模糊的图像。
When we look at it in inspect element it is a 1200 x 5 pixel image labelled with "intrinsic". 当我们在检查元素中查看时,它是一个标有“本征”的1200 x 5像素图像。 See screenshot below for more. 有关更多信息,请参见下面的屏幕截图。
I have never encountered this before so I don't know where to begin to look. 我以前从未遇到过,所以我不知道从哪里开始。
Turned out to be an issue with srcset on my PM's machine. 原来是我的PM机器上的srcset问题。 Resolved. 解决。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.