2023-08-12 23:59:34 +02:00
|
|
|
<div class="image">
|
2024-03-08 00:23:26 +01:00
|
|
|
<div class="image__alt" *ngIf="displayAltLabel && attachment.description" title="{{ attachment.description }}">ALT</div>
|
2024-03-07 06:59:00 +01:00
|
|
|
<a *ngIf="status" href class="image__status" (click)="openStatus()" (auxclick)="openStatus()" title="open status">
|
|
|
|
<fa-icon class="image__status--icon" [icon]="faExternalLinkAlt"></fa-icon>
|
|
|
|
</a>
|
2020-04-15 06:44:02 +02:00
|
|
|
<a href class="image__link" (click)="openExternal()" (auxclick)="openExternal()" title="open image">
|
2020-04-15 06:42:51 +02:00
|
|
|
<fa-icon class="image__link--icon" [icon]="faLink"></fa-icon>
|
|
|
|
</a>
|
|
|
|
|
2020-04-15 04:12:07 +02:00
|
|
|
<a *ngIf="attachment.type === 'image'" class="galery__image--link" title="{{ attachment.description }}"
|
|
|
|
(click)="attachmentSelected()">
|
2020-05-21 07:02:34 +02:00
|
|
|
<img class="galery__image--1" src="{{ attachment.preview_url | ensureHttps }}" />
|
2020-04-15 04:12:07 +02:00
|
|
|
</a>
|
|
|
|
<video *ngIf="attachment.type === 'gifv'" class="galery__image--link galery__image--1" role="application" loop
|
|
|
|
autoplay (click)="attachmentSelected()">
|
2020-05-21 07:02:34 +02:00
|
|
|
<source src="{{ attachment.url | ensureHttps }}" type="video/mp4">
|
2020-04-15 04:12:07 +02:00
|
|
|
</video>
|
|
|
|
</div>
|