← Back to API Documentation

External usage Media Files

#### Guidelines on using Media Files on your own sites To improve user experience and reduce bandwidth constraints we recently investigated the media usage of custom implementations to show HomeQ listings on our customers own websites. Below you find some guidelines and recommendations to improve those implementation as well as a new <b>requirement that will take effect 1st May 2025.</b> We noticed that some customers do not use smaller image sizes when displaying listings on their sites which - especially on mobile devices - can lead to a degraded user experience. To make use of smaller sizes like 320/480px you can simply modify the image URI as explained in the documentation https://docs-core.homeq.se/#section/API-Usage/Media-Files Additionally we realized that we cannot give good guidance without knowing who is making use of the media assets and decided to introduce a mandatory HTTP Referrer header field when fetching media files from HomeQ. If you are embedding the images simply in the HTML the referrer will be set automatically to the domain the website is running on. With some implementations via NextJS or when you fetch the images in your backend that header will need to be set explicitly. We recommend setting the referrer to you main business domain so we can easily identify you and help if we notice something. For more information see https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer.