{{responsive_image_tag}} with posts slider returns empty

Caroline's Avatar


14 May, 2018 11:12 AM

Hi there,

I am following this guide to try and use responsive images in my sliders:

Does this code not work for posts sliders? Because the {{responsive_image_tag}} returns empty


  1. Support Staff 1 Posted by Dmitry Semenov on 14 May, 2018 05:54 PM

    Dmitry Semenov's Avatar


    I've adjusted the snippet to support post featured images, you can find it at http://help.dimsemenov.com/kb/wordpress-royalslider-advanced/wp-usi...


  2. 2 Posted by Caroline on 15 May, 2018 09:27 AM

    Caroline's Avatar

    Thanks Dmitry, {{responsive_image_tag}} now outputs an image tag with srcset :)

  3. Caroline closed this discussion on 15 May, 2018 09:27 AM.

Comments are currently closed for this discussion. You can start a new one.

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