Using WordPress image sizes Not working

contact's Avatar


08 May, 2020 05:46 PM

Hello Dimitry,
I try to take advantage of the wp image srcset function, but I don't manage to.

If I correctly understand, with the last version of the plugin I have read in this article , I just need to enter no values in width and height inputs in "Image Options" section of slider option?

It does not seem to work, it always delivers me the original image, even when I try with my phone.

I have created a test slider at this address :
And i have attached screenshot of the setting.
Please let me know what I am doing wrong ? Or if I misunderstood something.


  1. Support Staff 1 Posted by Dmitry Semenov on 10 May, 2020 06:53 AM

    Dmitry Semenov's Avatar


    Removing values from image width/height options will make the slider use default sizes, which can be modified further via filter

    Images on the page that you linked do not display, as you're using some kind of lazy-loading plugin (or it's a theme feature), try disabling it.

    If you want to have custom markup for IMG elements in the slider, you may use custom variables, this might help

  2. 2 Posted by contact on 11 May, 2020 02:55 PM

    contact's Avatar

    Hello Dimitry,
    Thanks for your quick response

    I have tried the solution you mention here :
    and it works great.
    But, as you mentioned at the bottom of the page, the lazy load option is
    not working anymore.
    Have you found a way to fix it? maybe by using an extra plugin ?


  3. Support Staff 3 Posted by Dmitry Semenov on 12 May, 2020 04:19 AM

    Dmitry Semenov's Avatar

    I'm not sure if there is any plugin that would be able to lazy-load images from a slideshow, would require extra coding.

  4. 4 Posted by contact on 12 May, 2020 07:08 PM

    contact's Avatar

    But your plugin Royalslider is already offering lazy-load functionality,
    right ?
    I imagine that with the screst images, is not the same ?

  5. Support Staff 5 Posted by Dmitry Semenov on 12 May, 2020 10:03 PM

    Dmitry Semenov's Avatar

    Yes, it's not the same with srcset.

  6. 6 Posted by contact on 12 May, 2020 11:09 PM

    contact's Avatar

    Damned !
    Thanks !

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Already uploaded files

  • Capture_d’écran_2020-05-08_à_12.43.02.png 45.7 KB
  • Capture_d’écran_2020-05-08_à_12.42.58.png 28.9 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac