PROCÉDURE

utiliser des photos Google Drive dans des fenêtres contextuelles ArcGIS Online

Last Published: February 9, 2024

Résumé

Images can be included in ArcGIS Online pop-ups by entering a direct image URL. These images can be hosted on ArcGIS Online or an external website, such as Google Drive and Flickr. The URL to be used in pop-up configuration must be the direct image URL. However, this URL is not given directly by Google Drive.

Procédure

To get direct image url on Google Drive:
  1. Click the image on Google Drive.
  2. Click the Share button at the top of the page.
  3. Click Sharing settings.
  4. Click Advanced in the bottom right corner of the sharing box.
  5. Click Change....under Who has access.
  6. Choose On - Public on the web and click Save.
  7. Before closing the sharing box, copy the document ID from the URL in the field below Link to share. This URL contains the image id. For example: https://drive.google.com/file/d/0B14bzGsfJ06JMDF5Y2VsNU9FRVk/view?usp=sharing
  8. Replace <image_id> in this URL with your image id: https://drive.google.com/uc?export=view&id=<image_id>
  9. This is the URL to be used in pop-up media configuration.
To show images in pop-ups: pop-up configuration help

ID d’article:000015466

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement

Informations associées

En savoir plus sur ce sujet