Images in content-field not rendering in nextjs

Hi all,

how can I configure my next js and strapi app in a way so it renders also images that are placed within the content-field of the backend? Everytime it renders it keeps linking to

<img src="/uploads/what_s_inside_a_black_hole_4166ccdc01.jpg" alt="what-s-inside-a-black-hole.jpg">

where it understandably does not find anything.

I already added

module.exports = withBundleAnalyzer({
  images: {
    domains: ['localhost:1337'],

in my next.config.js but it makes nothing.

Do you have any idea?

Regards, Francisco