dosubot[bot] commented on issue #33207:
URL: https://github.com/apache/superset/issues/33207#issuecomment-2821248820

   <!-- Greeting -->
   Hello @Alexeyalexeyalex! I'm [Dosu](https://dosu.dev), a bot here to help 
you with bugs, answer your questions, and assist you in becoming a contributor. 
I'm here to support you while you wait for a human maintainer. How can I assist 
you today?
   
   <!-- Answer -->
   To display images from Google Drive in Superset dashboards, you need to 
ensure that the image URL is accessible and properly configured in Superset's 
content security policy. Superset uses the Talisman content security policy to 
manage external image sources. You can modify the `TALISMAN_CONFIG` to include 
Google Drive URLs in the `img-src` directive:
   
   ```python
   TALISMAN_CONFIG = {
       "content_security_policy": {
           "img-src": [
               "'self'",
               "blob:",
               "data:",
               "https://drive.google.com/";,  # Add Google Drive domain
           ],
           # ... other configuration settings
       }
   }
   ```
   
   Make sure the Google Drive link is publicly accessible and formatted 
correctly for direct image access. Sometimes, Google Drive links need to be 
adjusted to ensure they point directly to the image file rather than a webpage. 
You might need to use a direct link format or convert the file to a publicly 
accessible format. 
   
   Additionally, check if there are any browser-specific settings or extensions 
that might be blocking the image from loading.
   
   
   <!-- Dosu Comment Footer -->
   *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
   
   ---
   <sup>Help Dosu learn! Give it feedback: [Great 
Response](https://app.dosu.dev/response-feedback/1b3ae949-0065-4e03-96d5-a983aeebf0b6?feedback_type=great_response)
 | [Irrelevant 
Answer](https://app.dosu.dev/response-feedback/1b3ae949-0065-4e03-96d5-a983aeebf0b6?feedback_type=irrelevant_answer)
 | [Incorrect 
Sources](https://app.dosu.dev/response-feedback/1b3ae949-0065-4e03-96d5-a983aeebf0b6?feedback_type=incorrect_sources)
 | [Too 
Verbose](https://app.dosu.dev/response-feedback/1b3ae949-0065-4e03-96d5-a983aeebf0b6?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/1b3ae949-0065-4e03-96d5-a983aeebf0b6?feedback_type=hallucination)
 | [Bug 
Report](https://app.dosu.dev/response-feedback/1b3ae949-0065-4e03-96d5-a983aeebf0b6?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/1b3ae949-0065-4e03-96d5-a983aeebf0b6?feedback_type=other)</sup>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to