Here is the answer of the question: 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
The above question is related to “HubSpot CMS for Developers II: Best Practices“. You can find all the updated questions and answers related to to “HubSpot CMS for Developers II: Best Practices” on the “HubSpot CMS for Developers II: Best Practices” page. If you find the update in question or answers, do comment on this page and let us know. We will update the answers as soon as possible.
Subscribe to our mailing list and get interesting stuff and updates to your email inbox.