#select dropdown with images doesn't work!

1 messages · Page 1 of 1 (latest)

analog forgeBOT
#

Hi @tacit hound. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:

#

Hmm, I don't know enough to give you a confident answer yet. However, I can provide you with some information about the Next.js Image component, which might be helpful in your case.

Next.js 13 introduced a powerful new Image component that allows you to easily display images without layout shift and optimize files on-demand for increased performance. You can import and use the Image component like this:

import Image from 'next/image';
import avatar from './lee.png';

function Home() {
  // "alt" is now required for improved accessibility
  // optional: image files can be colocated inside the app/ directory
  return <Image alt="leeerob" src={avatar} placeholder="blur" />;
}

Learn more about the Image component (https://nextjs.org/docs/basic-features/image-optimization) or deploy an example to try it out (https://vercel.com/templates/next.js/nextjs-boilerplate).

For more information on the properties available to the next/image component, you can view all properties here (https://nextjs.org/docs/api-reference/next/image).

If you could provide more details about your issue, I might be able to help you better.

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:

Next.js supports built-in image optimization, as well as third party loaders for Imgix, Cloudinary, and more! Learn more here.