2019-12-13 17:20:29 +03:00
|
|
|
<a class="gh-unsplash-photo" href="#" onclick={{action "zoom"}} data-unsplash-zoomed-photo={{if this.zoomed this.photo.id}} data-test-unsplash-photo={{this.photo.id}} style={{this.style}}>
|
|
|
|
<div class="gh-unsplash-photo-container" style={{this.containerStyle}} data-test-unsplash-photo-container>
|
|
|
|
<img src={{this.imageUrl}} alt={{this.photo.description}} width={{this.width}} height={{this.height}} data-test-unsplash-photo-image />
|
2017-08-02 10:05:59 +03:00
|
|
|
<div class="gh-unsplash-photo-overlay">
|
|
|
|
<div class="gh-unsplash-photo-header">
|
2019-12-13 17:20:29 +03:00
|
|
|
<a class="gh-unsplash-button-likes gh-unsplash-button" href="{{this.photo.links.html}}?utm_source=ghost&utm_medium=referral&utm_campaign=api-credit" target="_blank">{{svg-jar "unsplash-heart"}}{{this.photo.likes}}</a>
|
|
|
|
<a class="gh-unsplash-button-download gh-unsplash-button" href="{{this.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">
|
2019-12-13 17:20:29 +03:00
|
|
|
<a class="gh-unsplash-photo-author-img" href="{{this.photo.user.links.html}}?utm_source=ghost&utm_medium=referral&utm_campaign=api-credit" target="_blank">
|
|
|
|
<img src="{{this.photo.user.profile_image.medium}}" />
|
2017-08-02 10:05:59 +03:00
|
|
|
</a>
|
2019-12-13 17:20:29 +03:00
|
|
|
<a class="gh-unsplash-photo-author-name" href="{{this.photo.user.links.html}}?utm_source=ghost&utm_medium=referral&utm_campaign=api-credit" target="_blank">
|
|
|
|
{{this.photo.user.name}}
|
2017-08-02 10:05:59 +03:00
|
|
|
</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>
|