diff --git a/components/AIAnalysisPanel.tsx b/components/AIAnalysisPanel.tsx
index 39539c8..de2d6b3 100644
--- a/components/AIAnalysisPanel.tsx
+++ b/components/AIAnalysisPanel.tsx
@@ -475,6 +475,7 @@ export default function AIAnalysisPanel() {
return (
+ {console.log('AIAnalysisPanel render - result:', result)}
@@ -1370,14 +1371,23 @@ export default function AIAnalysisPanel() {
{/* Screenshot Gallery */}
{result && result.screenshots && (
- timeframes.find(t => t.value === tf)?.label || tf)}
- enlargedImage={enlargedScreenshot}
- onImageClick={handleScreenshotClick}
- onClose={() => setEnlargedScreenshot(null)}
- />
+ <>
+ {console.log('Rendering ScreenshotGallery with:', {
+ screenshots: result.screenshots,
+ screenshotsLength: result.screenshots.length,
+ symbol,
+ selectedTimeframes,
+ enlargedScreenshot
+ })}
+ timeframes.find(t => t.value === tf)?.label || tf)}
+ enlargedImage={enlargedScreenshot}
+ onImageClick={handleScreenshotClick}
+ onClose={() => setEnlargedScreenshot(null)}
+ />
+ >
)}
{/* Multi-timeframe Screenshot Gallery */}
diff --git a/test-gallery.html b/test-gallery.html
new file mode 100644
index 0000000..9fb2492
--- /dev/null
+++ b/test-gallery.html
@@ -0,0 +1,124 @@
+
+
+
+ Test Screenshot Gallery
+
+
+
+ Screenshot Gallery Test
+ Testing direct screenshot access:
+
+
+
+

+
SOLUSD - 4h Timeframe
+
+
+

+
SOLUSD - 15m Timeframe
+
+
+

+
SOLUSD - 5m Timeframe
+
+
+
+
+
×
+
![]()
+
+
+
+
+