This is fine, but the CC BY 2.0 licenses have a serious defect in that a failure to correctly attribute them can give rise to serious ($150K!) copyright liability, something that a group of "copyleft trolls" have brutally exploited:
https://pluralistic.net/2023/04/02/commafuckers-versus-the-commons/
Which makes this kind of funky attribution a minefield. I try to touch all the bases by attributing to both the store's URL and the URL of the image.
29/