Skip to content

Cookbook › Images

Add an SVG logo or icon

Images1 minuteDraftsTested 16 Oct 2026
Paste into ChatGPT or ClaudeCreate a simple blue leaf icon as an SVG, using vector shapes, and add it to my media library as “Blue leaf icon”. Tell me if anything was removed, and give me its address.

Creates a draft. Standard and Trusted do this on their own; Read only can’t.

  1. Your assistant cleans the SVG with ai-puffer/sanitize-svg. Shapes, groups and gradients stay; scripts, links, embedded images, styles and animation are removed.
  2. It adds exactly the cleaned file with ai-puffer/import-svg, then checks the saved file matches it.
  3. It tells you what was removed and gives you the new image’s address.
  • Up to 20 KB, simple shapes and gradients only. Complex illustrations, text that needs fonts, and animation won’t come through as they were.
  • Your site still doesn’t accept SVG uploads in general. Only this cleaned file is let in.
  • At Standard you see what will be saved and approve it first. The connected user needs permission to upload files.