diff --git a/app/frontend/src/pages/chat/Chat.tsx b/app/frontend/src/pages/chat/Chat.tsx
index e3c0cfd77f..4ebaa721fc 100644
--- a/app/frontend/src/pages/chat/Chat.tsx
+++ b/app/frontend/src/pages/chat/Chat.tsx
@@ -385,6 +385,22 @@ const Chat = () => {
+ {/* Render images from data_points before text streams in */}
+ {!Array.isArray(streamedAnswer[1].context.data_points) &&
+ streamedAnswer[1].context.data_points.images &&
+ streamedAnswer[1].context.data_points.images.length > 0 && (
+
+ {streamedAnswer[1].context.data_points.images.map((img, i) => (
+

+ ))}
+
+ )}
{
+ {/* Render images from data_points before text content */}
+ {!Array.isArray(answer[1].context.data_points) &&
+ answer[1].context.data_points.images &&
+ answer[1].context.data_points.images.length > 0 && (
+
+ {answer[1].context.data_points.images.map((img, i) => (
+

+ ))}
+
+ )}