Changed method to see pictures

This commit is contained in:
2026-06-05 11:08:28 +01:00
parent ed3d9bf52e
commit c8f46f6c8f
2 changed files with 4 additions and 4 deletions
@@ -3,7 +3,7 @@
<div class="bg-white rounded-lg p-2 shadow-sm border border-gray-200 overflow-scroll max-h-full">
<div class="grid grid-cols-4 gap-3">
@for (p of proofs(); track p) {
<img [src]="'data:image/jpeg;base64,' + p.proof"
<img [src]="p.proof"
class="w-20 h-20 object-cover"
alt=""
(click)="openProof(p.proof)"
@@ -18,7 +18,7 @@
<ion-icon name="close-circle-outline"></ion-icon>
</button>
<img [src]="'data:image/jpeg;base64,' + selectedProof()"
<img [src]="selectedProof()"
class="w-[90%] h-[90%] object-cover rounded-md mt-10"
alt=""
/>
+2 -2
View File
@@ -19,7 +19,7 @@
</div>
<div class="aspect-square overflow-hidden p-1">
<img [src]="'data:image/jpeg;base64,' + post.proof"
<img [src]="post.proof"
alt=""
class="w-full h-full object-cover"/>
</div>
@@ -54,7 +54,7 @@
</div>
<div class="aspect-square overflow-hidden p-1">
<img [src]="'data:image/jpeg;base64,' + post.proof"
<img [src]="post.proof"
alt=""
class="w-full h-full object-cover"/>
</div>