image.tsx

src/components/image.tsx
import { clsx } from 'clsx'
import Link from 'next/link'
import { Paragraph } from '@/components/paragraph'
import type { ComponentProps } from 'react'
import { getStudioImage } from '@/utils/studio-helpers'
export interface ImageProps extends Omit<
ComponentProps<'img'>,
'alt' | 'title'
> {
/** Image source URL */
src: string
/** Alt text for accessibility - optional, falls back to empty string */
alt?: string
/** Title attribute for hover tooltip - optional */
title?: string
/** Caption text that supports HTML elements - optional */
caption?: string
/** Whether to wrap the image in paragraph containers - default is true */
wrap?: boolean

Showing the first 20 lines.

Get full code

Support

Talk to the developers of this project to learn more

We have been building professional websites for big clients for over 15 years. Gallop templates and blocks is our best foundation for SEO websites and web apps.

© 2026 Web Plant Media, LLC