• Hi
    Does this plugin work with Advanced Custom Fields (eg image objects) or is it aimed just at images uploaded to the Visual Editor content field?

    The wr2x_get_retina_from_url( $url ) looks like it might come in handy but what do you pass it – literally the original url of the normal uploaded image?

    Thanks

    https://ww.wp.xz.cn/plugins/wp-retina-2x/

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

    (@tigroumeow)

    Hello!

    Does this plugin work with Advanced Custom Fields (eg image objects) or is it aimed just at images uploaded to the Visual Editor content field?

    If they use the Media Library / normal image process in the background, so then yes, it will work. You can give it a try 🙂 I believe they do the things the right way so that should be alright.

    The wr2x_get_retina_from_url( $url ) looks like it might come in handy but what do you pass it – literally the original url of the normal uploaded image?

    Exactly! Yes, I know, it sounds a bit magic but that works. Of course, that is only supported with images which are covered by the plugin through the Media Library.

Viewing 1 replies (of 1 total)

The topic ‘Does this work with ACF?’ is closed to new replies.