diff --git a/frontend/src/components/common/ContentImageCell.tsx b/frontend/src/components/common/ContentImageCell.tsx index 7a5ffaff..fcc828ea 100644 --- a/frontend/src/components/common/ContentImageCell.tsx +++ b/frontend/src/components/common/ContentImageCell.tsx @@ -139,58 +139,34 @@ 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

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

No image available

+
)} + {/* Always display database field values below image/placeholder */} +
+
+ class Images(SiteSectorBaseModel): +
+
+
+ image_url + = + + {image.image_url || null} + +
+
+ image_path + = + + {image.image_path || null} + +
+
+
)}