mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-11-30 00:07:30 +00:00
docs: say which large image results get the show image button
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
bf96494184
commit
adf9de88c4
File diff suppressed because one or more lines are too long
Generated
+4
-3
@@ -8764,9 +8764,10 @@ Each shape is an object with that one key (plus \`filename\` for a file, and an
|
||||
|
||||
## Large results
|
||||
|
||||
A result stored above about 90 KB is not sent with the run: the run page and the editors show only
|
||||
its type and size with a "Download JSON" button, plus a "Show image" button for an image result
|
||||
(\`png\`, \`jpeg\`, \`gif\`, \`svg\`). To have a large result previewed without a click, write the
|
||||
A result stored above about 90 KB is not sent with the run: the run page and the editors offer it
|
||||
as a JSON download. When a script, or a single step of a flow, returns an image (\`png\`, \`jpeg\`,
|
||||
\`gif\`, \`svg\`) that large, they add a "Show image" button; a flow's or workflow's own result does
|
||||
not get one. To have a large result previewed without a click, write the
|
||||
content to the workspace storage and return \`{ "s3": "path/to/key" }\`, which is previewed by type;
|
||||
for a generated image, also keep it small (a JPEG, or fewer pixels) when it only needs to be looked
|
||||
at.
|
||||
|
||||
@@ -1911,9 +1911,10 @@ Each shape is an object with that one key (plus \`filename\` for a file, and an
|
||||
|
||||
## Large results
|
||||
|
||||
A result stored above about 90 KB is not sent with the run: the run page and the editors show only
|
||||
its type and size with a "Download JSON" button, plus a "Show image" button for an image result
|
||||
(\`png\`, \`jpeg\`, \`gif\`, \`svg\`). To have a large result previewed without a click, write the
|
||||
A result stored above about 90 KB is not sent with the run: the run page and the editors offer it
|
||||
as a JSON download. When a script, or a single step of a flow, returns an image (\`png\`, \`jpeg\`,
|
||||
\`gif\`, \`svg\`) that large, they add a "Show image" button; a flow's or workflow's own result does
|
||||
not get one. To have a large result previewed without a click, write the
|
||||
content to the workspace storage and return \`{ "s3": "path/to/key" }\`, which is previewed by type;
|
||||
for a generated image, also keep it small (a JPEG, or fewer pixels) when it only needs to be looked
|
||||
at.
|
||||
|
||||
@@ -32,9 +32,10 @@ Each shape is an object with that one key (plus `filename` for a file, and an op
|
||||
|
||||
## Large results
|
||||
|
||||
A result stored above about 90 KB is not sent with the run: the run page and the editors show only
|
||||
its type and size with a "Download JSON" button, plus a "Show image" button for an image result
|
||||
(`png`, `jpeg`, `gif`, `svg`). To have a large result previewed without a click, write the
|
||||
A result stored above about 90 KB is not sent with the run: the run page and the editors offer it
|
||||
as a JSON download. When a script, or a single step of a flow, returns an image (`png`, `jpeg`,
|
||||
`gif`, `svg`) that large, they add a "Show image" button; a flow's or workflow's own result does
|
||||
not get one. To have a large result previewed without a click, write the
|
||||
content to the workspace storage and return `{ "s3": "path/to/key" }`, which is previewed by type;
|
||||
for a generated image, also keep it small (a JPEG, or fewer pixels) when it only needs to be looked
|
||||
at.
|
||||
|
||||
@@ -27,9 +27,10 @@ Each shape is an object with that one key (plus `filename` for a file, and an op
|
||||
|
||||
## Large results
|
||||
|
||||
A result stored above about 90 KB is not sent with the run: the run page and the editors show only
|
||||
its type and size with a "Download JSON" button, plus a "Show image" button for an image result
|
||||
(`png`, `jpeg`, `gif`, `svg`). To have a large result previewed without a click, write the
|
||||
A result stored above about 90 KB is not sent with the run: the run page and the editors offer it
|
||||
as a JSON download. When a script, or a single step of a flow, returns an image (`png`, `jpeg`,
|
||||
`gif`, `svg`) that large, they add a "Show image" button; a flow's or workflow's own result does
|
||||
not get one. To have a large result previewed without a click, write the
|
||||
content to the workspace storage and return `{ "s3": "path/to/key" }`, which is previewed by type;
|
||||
for a generated image, also keep it small (a JPEG, or fewer pixels) when it only needs to be looked
|
||||
at.
|
||||
|
||||
Reference in New Issue
Block a user