Image not showing in session replay, Thats limitation or I need to add any prop?
Hi Anjali N., Please stand by as I search the Mixpanel knowledge base for an AI-powered answer. I normally take about 15 seconds or so. In case AI cannot answer your question, feel free to reach out to Mixpanel support at mixpanel.com/get-support. If you have follow-up questions for this thread, please tag me again with your question: @kapa.ai <follow-up question> π
Feel free to ask a follow-up question once I've answered by mentioning me with @kapa.ai
By default, Mixpanel Session Replay does not show images β they are blocked for privacy, and rendered as empty placeholder boxes. [Session privacy]So this is expected behavior unless you explicitly change the configuration. Itβs not a hard limitation; you need to adjust your Session Replay settings: - Web (JavaScript SDK): images are blocked by default via record_block_selector: "img, video". To allow images, override this in mixpanel.init (for example, remove img from the selector or set your own): js mixpanel.init('YOUR_PROJECT_TOKEN', { record_sessions_percent: 100, record_block_selector: 'video' // images no longer blocked });LBKSor use record_block_class / record_block_selector only for elements you do want blocked. [JS init options; Blocking elements]- Mobile (iOS / Android / React Native): all images are masked/blocked by default via autoMaskedViews. You can unmask them by changing autoMaskedViews in your Session Replay config. [iOS privacy; Android privacy; RN privacy]If you tell me which platform (Web, iOS, Android, React Native) youβre using, I can show the exact config snippet you should use.
kapa.ai is still learning and improving, please let me know how I did by reacting below.
βΉοΈΒ Tip: Mention @kapa.ai in the thread for follow-ups or DM the app for 1-to-1 help.
Thanks
