We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If there are posts with more than 4 images (some instances have much higher limits on the number of attachments) no images are displayed at all.
As an initial workaround 4 images should be displayed if there than more than 4
diff --git a/src/app/components/stream/status/attachements/attachements.component.html b/src/app/components/stream/status/attachements/attachements.component.html --- src/app/components/stream/status/attachements/attachements.component.html +++ src/app/components/stream/status/attachements/attachements.component.html @@ -25,9 +25,9 @@ (openEvent)="attachmentSelected('image', 2)"> </app-attachement-image> </div> - <div class="galery__image" *ngIf="imageAttachments.length === 4"> + <div class="galery__image" *ngIf="imageAttachments.length >= 4"> <app-attachement-image class="galery__img--4" [attachment]="imageAttachments[0]" (openEvent)="attachmentSelected('image', 0)"> </app-attachement-image> <app-attachement-image class="galery__img--4" [attachment]="imageAttachments[1]"
But a real fix should probably also include an indication that there are more thumbnails not shown.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If there are posts with more than 4 images (some instances have much higher limits on the number of attachments) no images are displayed at all.
As an initial workaround 4 images should be displayed if there than more than 4
But a real fix should probably also include an indication that there are more thumbnails not shown.
The text was updated successfully, but these errors were encountered: