Hi guys,
How can I generate srcset sizes for Image Advanced field in Twig?
In Toolset, I know there is a simple trick to achieve srcset - adding:
class="size-full wp-image-1234"
to the img tag somehow makes WordPress generate srcset automatically for image fields, if the wp-image- class has the correct image ID.
However, this trick doesn't seem to work in Metabox Views.
Is there a simple way to output automatically all srcset sizes in Views/Twig?
Greetings,
Tom