Hello !
I'm trying to update my theme with responsive image srcset attribut
by using getCustomImageURL(); function.
Theoretically this code should be okay :
`[img]<?php echo html_encode(getCustomImageURL(NULL,916,NULL,NULL,NULL,NULL,NULL,false,NULL)); ?>[/img] 640w,<?php echo html_encode(getCustomImageURL(NULL,916,NULL,NULL,NULL,NULL,NULL,false,NULL)); ?> 916w,<?php echo html_encode(getCustomImageURL(NULL,1030,NULL,NULL,NULL,NULL,NULL,false,NULL)); ?> 1030w" sizes="(min-width: 1366px) 916px,(min-width: 1536px) 1030px, 100vw">`
But's it's not working :p
The generated html is :
` [img]/zenphoto/cache/Abstract/bpt6k6579564s_f3_w916.jpg?cached=1614254337[/img]`
So I'm guessing, Zenphoto cache **only** for the *src* attribute.
Is this something I can trick anywhere ? Maybe theme functions ?
Thanks for your help !