Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Jordy Meow

    (@tigroumeow)

    It’s probably an issue linked to the PictureFill script (https://github.com/scottjehl/picturefill). Do you think you can check on their GitHub? I also updated the plugin to its last version, the problem might be fixed already.

    Thread Starter gulfarsson

    (@gulfarsson)

    Thanks for the response. I’m not sure how I could solve it by checking their GitHub, but I noticed one thing. The img string is different on the frontpage and single page. Do you maybe know why it acts like this? On the frontpage it seems to add he src as well as the srcset, which makes it work on frontpage and not single pages.

    Frontpage:
    <img alt="lunga" width="866" height="650" class="alignnone size-large wp-image-359" srcset="https://gunmad.net/wp-content/uploads/2004/06/lunga-866x650.jpg, https://gunmad.net/wp-content/uploads/2004/06/[email protected] 2x" src="https://gunmad.net/wp-content/uploads/2004/06/[email protected]”>

    Single page:
    <img alt="lunga" width="866" height="650" class="alignnone size-large wp-image-359" srcset="https://gunmad.net/wp-content/uploads/2004/06/lunga-866x650.jpg, https://gunmad.net/wp-content/uploads/2004/06/[email protected] 2x">

    Thread Starter gulfarsson

    (@gulfarsson)

    Still no idea about this problem? I so SO want to use this plugin, but this is stopping me. Please, if anyone could help, it would be so greatly appreciated!

    Plugin Author Jordy Meow

    (@tigroumeow)

    The plugin doesn’t handle the pages/posts differently, they all go through the same code. The final HTML code for your IMGs should have only a srcset. I am not sure why you have a src on your front page. It might be interesting at this point to see what is the HTML source in your page/posts (not after it’s rendered, through your admin).

    Thread Starter gulfarsson

    (@gulfarsson)

    Would you want to check that out?

    Plugin Author Jordy Meow

    (@tigroumeow)

    You can post the original HTML versus the generated HTML. Maybe we can see something that is incorrect or handled incorrectly by the plugin in the original HTML.

    I have a similar problem on a site using the bytesforall Montezuma theme. On images within pages, or on theme elements, we have retina, but within posts (both single and multi-post pages) no retina images appear with picturefill. They work if I set to using the client side js, but I like the performance of picturefill. I can’t see why the JavaScript method works but picturefill doesn’t. This is only on images within posts.

    Same here, any solutions yet?

    Plugin Author Jordy Meow

    (@tigroumeow)

    This topic is closed, too many different issues are brought together, better to start a new fresh topic.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Picturefill problem’ is closed to new replies.