diff --git a/frontend/src/components/common/ContentImageCell.tsx b/frontend/src/components/common/ContentImageCell.tsx index 1b373f3d..68a8655d 100644 --- a/frontend/src/components/common/ContentImageCell.tsx +++ b/frontend/src/components/common/ContentImageCell.tsx @@ -97,7 +97,7 @@ export default function ContentImageCell({ image, maxPromptLength = 100 }: Conte {image.status === 'generated' && (
- {/* Always load from image_path if available */} + {/* Always load from image_path - no fallback */} {image.image_path && image.image_path.trim() ? ( <> )} - ) : image.image_url ? ( - // Fallback: if no image_path, show image_url (for backward compatibility) - - {prompt { - // Fallback to placeholder if image fails to load - const target = e.target as HTMLImageElement; - target.style.display = 'none'; - const parent = target.parentElement; - if (parent) { - parent.innerHTML = ` -
-

Image not available

-
- `; - } - }} - /> -
) : (

No image available