Credit for Banner Image

292
2
01-23-2022 12:41 PM
JohnWolf2
New Contributor III

Is there a way to add a photographer credit for a banner image in ArcGIS Hub? (like there is in ArcGIS Story Maps, for example)

2 Replies
KlaraSchmitt
Esri Contributor

Hi @JohnWolf2,

While we do not have the same built-in attribute functionality that Story Maps has, you can add attribution to row background images through the Text Card. In my example here: https://stop-the-spotted-lanternfly-qa-pre-hub.hubqa.arcgis.com/ I have a Text Card to which I've added an attribution source link. If you add a full-width Text Card, then select "Edit in HTML" you can essentially copy my code below. Feel free to change the color or font-size as you wish. The Bootstrap class "pull-right" right-aligns the text, if you wish to have left-aligned text, just remove the class and it will default to that.

<span style="color: #fff; font-size: 14px;" class="pull-right">Image Source: <a href="https://www.flickr.com/photos/usdagov/30776349158/" style="color: #fff;">USDA</a></span>

If you need to darken or lighten the background of the text to improve contrast over top of your image, you can also add a background-style and some padding to the span tag.

<span style="color: #fff; font-size: 14px; background-color: rgba(0, 0, 0, 0.3); padding: 2px 3px;" class="pull-right">Image Source: <a href="https://www.flickr.com/photos/usdagov/30776349158/" style="color: #fff;">USDA</a></span>

which would give you this affect: 

Screen Shot 2022-01-24 at 9.12.47 AM.png

JohnWolf2
New Contributor III

Thanks, Klara - I'll give it a shot!

John

0 Kudos