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
Current state:
Currently there is only possibility to get creditLine and source.url from the sanity.mageAsset object if you want to give attribution to the author of the photo. creditLine doesn't follow the format proposed by Unsplash -> Photo by Andres Molina** on Unsplash. It says [user] by Unsplash. Also it's not language agnostic.
Proposed state
Add following fields from the Unsplash API to the sanity.imageAsset:
user.name <- full user name
user.username <- username if you want to display it as @johnsmith
user.links.html <- link to the profile
This will provide many possibilities to display attribution information on the frontend.
The text was updated successfully, but these errors were encountered:
Current state:
Currently there is only possibility to get
creditLine
andsource.url
from thesanity.mageAsset
object if you want to give attribution to the author of the photo.creditLine
doesn't follow the format proposed by Unsplash ->Photo by Andres Molina** on Unsplash
. It says[user] by Unsplash
. Also it's not language agnostic.Proposed state
Add following fields from the
Unsplash API
to thesanity.imageAsset
:user.name
<- full user nameuser.username
<- username if you want to display it as@johnsmith
user.links.html
<- link to the profileThis will provide many possibilities to display attribution information on the frontend.
The text was updated successfully, but these errors were encountered: