2018-08-09 16:15:47 +03:00
|
|
|
<a class="gh-unsplash-photo" href="#" onclick={{action "zoom"}} data-unsplash-zoomed-photo={{if zoomed photo.id}} data-test-unsplash-photo={{photo.id}} style={{style}}>
|
|
|
|
<div class="gh-unsplash-photo-container" style={{containerStyle}} data-test-unsplash-photo-container>
|
2017-08-02 10:05:59 +03:00
|
|
|
<img src={{imageUrl}} alt={{photo.description}} width={{width}} height={{height}} data-test-unsplash-photo-image />
|
|
|
|
<div class="gh-unsplash-photo-overlay">
|
|
|
|
<div class="gh-unsplash-photo-header">
|
2018-03-19 12:57:31 +03:00
|
|
|
<a class="gh-unsplash-button-likes gh-unsplash-button" href="{{photo.links.html}}?utm_source=ghost&utm_medium=referral&utm_campaign=api-credit" target="_blank">{{svg-jar "unsplash-heart"}}{{photo.likes}}</a>
|
|
|
|
<a class="gh-unsplash-button-download gh-unsplash-button" href="{{photo.links.download}}/?utm_source=ghost&utm_medium=referral&utm_campaign=api-credit&force=true">{{svg-jar "download"}}</a>
|
2017-08-02 10:05:59 +03:00
|
|
|
</div>
|
|
|
|
<div class="gh-unsplash-photo-footer">
|
|
|
|
<div class="gh-unsplash-photo-author">
|
|
|
|
<a class="gh-unsplash-photo-author-img" href="{{photo.user.links.html}}?utm_source=ghost&utm_medium=referral&utm_campaign=api-credit" target="_blank">
|
|
|
|
<img src="{{photo.user.profile_image.medium}}" />
|
|
|
|
</a>
|
|
|
|
<a class="gh-unsplash-photo-author-name" href="{{photo.user.links.html}}?utm_source=ghost&utm_medium=referral&utm_campaign=api-credit" target="_blank">
|
|
|
|
{{photo.user.name}}
|
|
|
|
</a>
|
|
|
|
</div>
|
2018-08-09 19:55:11 +03:00
|
|
|
<a class="gh-unsplash-button" href="#" onclick={{action "select"}}>Insert image</a>
|
2017-08-02 10:05:59 +03:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-08-09 16:15:47 +03:00
|
|
|
</a>
|