Retina image inline attachments

Hmm so it generates

<img 
  src="//xxx/optimized/3X/2/2/guid_1_521x500.png" 
  alt="image" 
  width="521" 
  height="500" 
  srcset="//xxx/optimized/3X/2/2/guid_1_521x500.png, 
          //xxx/optimized/3X/2/2/guid_1_781x750.png 1.5x, 
          //xxx/optimized/3X/2/2/guid_1_1042x1000.png 2.0x"
>

I noticed the srcset URLs in the output sometimes start with // and sometimes https:// .. is that intentional?

It looks like you can use 2x instead of 2.0x to save two bytes there, per the documentation on srcset.

2개의 좋아요