OpenAI Log Image Renderer

Render conversation images inline in OpenAI platform conversation logs.

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

You will need to install an extension such as Tampermonkey to install this script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

Autore
vonernue
Installazioni giornaliere
0
Installazioni totali
0
Valutazione
0 0 0
Versione
0.1.9
Creato il
12/02/2026
Aggiornato il
12/02/2026
Dimensione
38,3 KB
Licenza
MIT
Applica a

OpenAI Log Image Renderer (Tampermonkey)

Render conversation images inline in OpenAI Platform conversation logs (/logs/conv_*), including:

  • input_image items with file_id
  • Markdown image links in assistant text
  • Annotated-image placeholder flows ([ANNOTATED_IMAGE])

This userscript is built for https://platform.openai.com/*.

GitHub

https://github.com/vonernue/openai-log-image-renderer

Contributing

Feel free to open an issue for bugs, questions, or feature requests: https://github.com/vonernue/openai-log-image-renderer/issues

Pull requests are welcome: https://github.com/vonernue/openai-log-image-renderer/pulls

Why This Script

In conversation logs, image-bearing items may appear as text or metadata instead of visible inline images. This script intercepts the conversation items payload, resolves image URLs, and injects image cards directly into the matching message blocks.

Features

  • Inline rendering inside the correct response/message card in the main logs UI
  • Supports file_id image resolution through:
  • Reuses auth context from platform requests:
    • Authorization
    • OpenAI-Organization
    • OpenAI-Project
  • Uses per-conversation header mapping from that conversation's .../dashboard/conversations/{conv_id}/items request
  • Retry UI for failed image loads
  • Request dedupe + cooldown to reduce repeated failed calls / rate-limit pressure
  • Automatic handling for SPA route changes

Installation

Option 1: Greasy Fork

  1. Install Tampermonkey in your browser.
  2. Open the Greasy Fork page for this script.
  3. Click Install this script.

Option 2: GitHub (manual)

  1. Install Tampermonkey.
  2. Open the script file from GitHub or the raw install URL above.
  3. Copy contents into a new Tampermonkey script, or install directly from the raw URL.
  4. Save and enable the script.

Usage

  1. Open https://platform.openai.com/logs/conv_...
  2. Wait for the conversation items request to load.
  3. Images should appear inline under their corresponding message blocks.

If images do not appear immediately:

  • refresh the page once
  • ensure you have permission to view the files in that org/project
  • click the script's Retry button on error badges

Configuration

Edit CONFIG at the top of the userscript:

  • UI.maxImageWidthPx
  • UI.borderRadiusPx
  • UI.showCaption
  • FEATURE_FLAGS.renderMarkdownImages
  • FEATURE_FLAGS.renderInputImageByFileId
  • FEATURE_FLAGS.renderAnnotatedImagePlaceholder
  • DEBUG.enabled

Notes / Limitations

  • This script depends on current OpenAI Platform DOM and internal API behavior; UI/API changes may require updates.
  • Signed download URLs are time-limited.
  • The script is intended for your own account/workspace usage where you are authorized to access those files.
  • Not affiliated with OpenAI.

Privacy & Security

  • Runs locally in your browser via Tampermonkey.
  • Does not send data to third-party services.
  • Uses existing authenticated platform context to request image download links.

Development

Repository structure:

  • userscripts/openai-log-image-renderer.user.js
  • README.md
  • README.github.md

To test quickly:

  1. Enable DEBUG.enabled = true
  2. Reload the logs page
  3. Check browser console for [OCI] logs

License

MIT