You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the generateImage() function, if you have the model to create markdown links to display the images, it will be blocked and not displayed.
In the output view, I once got a security prompt asking me if I wanted to show the blocked content, but despite allowing it images are never displayed. I noticed the URLs gets prefixed by sandbox: which may be related.
The same occurs in the Copilot output, though I got it working by adding manually the image link to the output like this:
env.output.appendContent(``
Using this method the images gets displayed in Copilot window, but still not in the output view. When using this, I don't get the sandbox: prefix.
The text was updated successfully, but these errors were encountered:
This issue highlights a key inconsistency in how images are handled across the Output and Copilot views. The blocking of markdown links prefixed with sandbox: in the Output view, despite successfully displaying images by manually inserting the link as  in the Copilot view, warrants further investigation. It’s crucial to understand why the sandbox: prefix causes blocking in one context but not the other. Further investigation should focus on the underlying mechanisms governing content display and security restrictions within the GenAIScript environment.
When using the
generateImage()
function, if you have the model to create markdown links to display the images, it will be blocked and not displayed.In the output view, I once got a security prompt asking me if I wanted to show the blocked content, but despite allowing it images are never displayed. I noticed the URLs gets prefixed by
sandbox:
which may be related.The same occurs in the Copilot output, though I got it working by adding manually the image link to the output like this:
Using this method the images gets displayed in Copilot window, but still not in the output view. When using this, I don't get the
sandbox:
prefix.The text was updated successfully, but these errors were encountered: