Skip to content

Version 1.9.3

Choose a tag to compare

@Twansparant Twansparant released this 17 Jun 09:27

Features

  • Add new decorative parameter to the get_image and get_image_data functions as well as to the /responsive-pics/v1/image/ and /responsive-pics/v1/image-data/ API endpoints in order to treat the <img> as decorative and adding an empty alt attribute for screen readers (closes #73 ).
  • Add new img_classes parameter to the get_picture and get_picture_data functions as well as to the /responsive-pics/v1/picture/ and /responsive-pics/v1/picture-data/ API endpoints in order to add custom css classes to the nested <img> tag in the <picture> element (closes #70 ).