• Resolved Lukas K

    (@lukas-k)


    First of all, thanks for the plugin!

    It works nicely with the pictures inside of the Media Library in WP. However, I tried to manually create @2x.png version of a flag image inside of the Polylang plugin folder and it doesn’t work.

    Please, would you be so kind to give me some advice on how to make it work, or why it’s not possible?

    Thanks a lot!

    https://www.ads-software.com/plugins/wp-retina-2x/

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

    (@tigroumeow)

    You are welcome ??

    Because the image is not processed by the standard image flow, so the retina files can’t be added to the src-set.

    To have it to work, you might need to use the Retina.js method. Did you try?

    Thread Starter Lukas K

    (@lukas-k)

    Thanks Jordy for the reply!

    I just figured it out. I put that @2x image inside of the /plugins/polylang/flags/ folder at first, but today I read that you’re supposed to put your custom flags in a new folder created for this purpose /wp-content/polylang/.

    I did that and suddenly everything works like charm, even with the Picturefill method ??

    Thanks again!

    Plugin Author Jordy Meow

    (@tigroumeow)

    Yes, the PictureFill also rewrite, so that should have been fine too ?? I thought that src was a bit different for some reason and couldn’t be rewritten. Cool that it works ^^

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Manually created @2x.png image in a Polylang folder doesn't work’ is closed to new replies.