jquery-focuspoint icon indicating copy to clipboard operation
jquery-focuspoint copied to clipboard

[Info] Works perfectly with picturefill.js

Open akroii opened this issue 10 years ago • 2 comments

Try

<div class="full focuspoint" data-focus-x="-0.02" data-focus-y="-0.1" data-image-w="2250" data-image-h="1992">
<picture>
<!--[if IE 9]><video style="display: none;"><![endif]-->
<source srcset="img/yyy1.jpg" media="(min-width: 1000px)">
<source srcset="img/yyy2.jpg" media="(min-width: 600px)">
<source srcset="img/yyy3.jpg" media="(min-width: 320px)">
<!--[if IE 9]></video><![endif]-->
<img src="img/picture.jpg" alt="">
</picture>
</div>

Nice ;)

akroii avatar Apr 01 '16 06:04 akroii

... but it not work with <img srcset="..."

akroii avatar Apr 16 '16 20:04 akroii

... but it not work with <img srcset="..."

This is actually a problem, since using src can lead to double downloads with picturefill. Although this isn't really an issue with focus point, it would be nice to have the compatibility.

yeldiRium avatar Sep 19 '18 11:09 yeldiRium