InvokeAI/invokeai
psychedelicious e675983e20
fix(ui): download image opens in new tab (#5625)
* fix(ui): download image opens in new tab

In some environments, a simple `a` element cannot trigger a download of an image. Fetching the image directly can get around this and provide more reliable download functionality.

* use hook for imageUrlToBlob so token gets sent if needed

---------

Co-authored-by: Mary Hipp <maryhipp@Marys-MacBook-Air.local>
2024-02-01 20:25:01 +00:00
..
app perf(config): change default png_compress_level to 1 2024-02-02 00:32:00 +11:00
assets feat(api): chore: pydantic & fastapi upgrade 2023-10-17 14:59:25 +11:00
backend Fix ruff styling 2024-01-31 07:16:14 -06:00
configs fix link to xpuct/deliberate 2023-12-08 06:46:58 -08:00
frontend fix(ui): download image opens in new tab (#5625) 2024-02-01 20:25:01 +00:00
version {release} v3.6.2 2024-01-24 21:40:03 -05:00
__init__.py
README

Organization of the source tree:

app -- Home of nodes invocations and services
assets -- Images and other data files used by InvokeAI
backend -- Non-user facing libraries, including the rendering
	core.
configs -- Configuration files used at install and run times
frontend -- User-facing scripts, including the CLI and the WebUI
version -- Current InvokeAI version string, stored
	in version/invokeai_version.py