• Resolved Clarus Dignus

    (@clarus-dignus)


    For theme images, stored in the theme directory rather than the media library, I’ve already uploaded the corresponding @2x variants.

    I originally manually enqueued retina.js but it isn’t taking effect on retina displays despite the script being correctly linked to and loading.

    I’m now attempting to use your plugin to detect and substitute theme images (creation not necessary). Will your plugin allow this provided I opt for retina.js as the method?

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Clarus Dignus

    (@clarus-dignus)

    My findings thus far:

    Already having uploaded the @2x variants, removing my originally enqueued retina.js, activating your plugin, selecting retina.js as the method, results in the following:

    srcset is automatically added to my img. The correct currentSrc property is served as required.

    Am I correct to understand that this result is a product of your plugin or is this something that WordPress 4.4 (responsive image feature) is doing?

    Plugin Author Jordy Meow

    (@tigroumeow)

    I’m now attempting to use your plugin to detect and substitute theme images (creation not necessary). Will your plugin allow this provided I opt for retina.js as the method?

    Yes 🙂

    srcset is automatically added to my img. The correct currentSrc property is served as required.

    WP 4.4 is doing this. You can use the “Disable Responsive” option of my plugin, it disables that feature of WP 4.4

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Theme Images’ is closed to new replies.