diff --git a/frontend/src/components/common/ContentImageCell.tsx b/frontend/src/components/common/ContentImageCell.tsx index 07e55967..7a5ffaff 100644 --- a/frontend/src/components/common/ContentImageCell.tsx +++ b/frontend/src/components/common/ContentImageCell.tsx @@ -139,11 +139,57 @@ export default function ContentImageCell({ image, maxPromptLength = 100 }: Conte View Original )} + {/* Display database field values */} +
+
+ class Images(SiteSectorBaseModel): +
+
+
+ image_url + = + + {image.image_url || null} + +
+
+ image_path + = + + {image.image_path || null} + +
+
+
) : ( -
-

No image available

-
+ <> +
+

No image available

+
+ {/* Display database field values even when no image available */} +
+
+ class Images(SiteSectorBaseModel): +
+
+
+ image_url + = + + {image.image_url || null} + +
+
+ image_path + = + + {image.image_path || null} + +
+
+
+ )} )}