Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

pass title

Sara Vieira338da62f4bfa
diff --git a/apps/designer/app/designer/features/sidebar-left/panels/components/image.tsx b/apps/designer/app/designer/features/sidebar-left/panels/components/image.tsx
index 5de635b6f2..615067feb5 100644
--- a/apps/designer/app/designer/features/sidebar-left/panels/components/image.tsx
+++ b/apps/designer/app/designer/features/sidebar-left/panels/components/image.tsx
@@ -27,10 +27,15 @@ const useImageWithFallbaack = ({ path }: { path: string }) => {
};
};
-export const AssetManagerImage = ({ asset: { path } }: { asset: Asset }) => {
+export const AssetManagerImage = ({
+ asset: { path, alt },
+}: {
+ asset: Asset;
+}) => {
const { imageSrc } = useImageWithFallbaack({ path });
return (
<Box
+ title={alt || ""}
css={{
aspectRatio: "1/1",
width: "100%",