Posted on

Select all that apply. What can you do to optimize images within a custom module?

  • Set the image’s loading attribute to “lazy,” by default
  • Add width and height attributes to the image
  • Use the resize_image_url function to resize the image
  • Use srcset and sizes attributes