Add srcset support for gallery