diff --git a/pkg/modules/background/unsplash/unsplash.go b/pkg/modules/background/unsplash/unsplash.go index 8e20e86f..73df0936 100644 --- a/pkg/modules/background/unsplash/unsplash.go +++ b/pkg/modules/background/unsplash/unsplash.go @@ -140,6 +140,11 @@ func (p *Provider) Search(search string, page int64) (result []*background.Image ID: p.ID, URL: p.Urls.Raw, Thumb: p.Urls.Thumb, + Info: &models.UnsplashPhoto{ + UnsplashID: p.ID, + Author: p.User.Username, + AuthorName: p.User.Name, + }, }) photos[p.ID] = p }