What is the problem or goal the end user is trying to solve or accomplish?
Users want to programmatically add or update charts and dashboards via the Preset API so they can display images (PNG/JPEG) stored in their databases. This is crucial for automated dashboard generation where visual assets (e.g., product images, logos, equipment photos) are data-driven and need to refresh dynamically.
How are they solving it currently?
Currently, this is not possible via the Preset API. Workarounds include:
Manually uploading static images through the Superset UI using Markdown components.
Hosting images elsewhere and embedding fixed URLs in Markdown—this breaks automation.
Exporting dashboards and manually editing metadata (not officially supported or scalable).
What is the recommended solution by the Customer?
Extend the Preset API to allow programmatic inclusion of images in charts or dashboards.
Support images referenced either by:
Direct upload via the Preset API
Provide an image-capable visualization type (e.g., "Image Card") that can be created and updated via the API.
Ensure compatibility with existing dashboard export/import functionality.
This would enable fully automated, programmatic dashboard creation workflows